How to route all incoming packets to remote proxy?iptables --set-mark - Route diferent ports through...
Why not make one big CPU core?
Does PC weight have a mechanical effect?
Creating polygon with exact measurements in QGIS 3
How to address players struggling with simple controls?
Struggling to present results from long papers in short time slots
Improving do loop speed with IntegerQ conditions
How did Avada Kedavra get its name?
How can I improve readability and length of a method with many if statements?
Print the phrase "And she said, 'But that's his.'" using only the alphabet
Idiom for 'person who gets violent when drunk"
TiKZ won't graph 1/sqrt(x)
Having some issue with notation in a Hilbert space
Sci fi/fantasy book, people stranded on a planet where tech doesn't work, magic mist
Boss making me feel guilty for leaving the company at the end of my internship
For Saintsbury, which English novelists constituted the "great quartet of the mid-eighteenth century"?
When is the phrase "j'ai bon" used?
How many times to repeat an event with known probability before it has occurred a number of times
How to make a villain when your PCs are villains?
IIS LAN and WAN separate SSL certificates for the same server
Arcane Tradition and Cost Efficiency: Learn spells on level-up, or learn them from scrolls/spellbooks?
Confusion about good reduction
Must a CPU have a GPU if the motherboard provides a display port (when there isn't any separate video card)?
My parents claim they cannot pay for my college education; what are my options?
Can I give my friend the sour dough "throw away" as a starter to their sourdough starter?
How to route all incoming packets to remote proxy?
iptables --set-mark - Route diferent ports through different interfacesSome packets are flagged as INVALID by iptablesRedirect ALL packets from eth1 & eth2 through a SOCKS proxyDebian network disappearingForward all traffic from Android to Ubuntu server running privoxy (iptables)FreeBSD load balancer implementationiptables rule to snat port and ip on AWS instanceiptables: transparent tcp traffic proxyHow to route traffic from a specific user through a VPN on LinuxLocal port forwarding using iptables is not working
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have a Wi-Fi hotspot setup in Kali. Interface wlan0 on 10.10.10.1/24. I setup an Android (10.10.10.2) to proxy requests through Burp on port 10.10.10.1:9999. This is done in the Android's Wi-Fi configuration settings. But I'm noticing some apps/services ignore the proxy and contact the internet directly. I can see DNS and TCP requests in Wireshark, for example, totally ignoring the proxy settings.
I tried some iptables
redirects to force packets that ignore the proxy setting to port 9999. Is this possible? My initial attempts at configuring iptables failed, I'm still new to iptables and couldnt figure it out.
iptables -t nat -A PREROUTING -i wlan0 -p udp --dport 53 -j REDIRECT --to 9999
iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 443 -j REDIRECT --to 9999
Basically, I need every single packet originating from 10.10.10.2 routed through 10.10.10.1:9999 to the Burp proxy.
linux debian iptables routing ufw
New contributor
add a comment |
I have a Wi-Fi hotspot setup in Kali. Interface wlan0 on 10.10.10.1/24. I setup an Android (10.10.10.2) to proxy requests through Burp on port 10.10.10.1:9999. This is done in the Android's Wi-Fi configuration settings. But I'm noticing some apps/services ignore the proxy and contact the internet directly. I can see DNS and TCP requests in Wireshark, for example, totally ignoring the proxy settings.
I tried some iptables
redirects to force packets that ignore the proxy setting to port 9999. Is this possible? My initial attempts at configuring iptables failed, I'm still new to iptables and couldnt figure it out.
iptables -t nat -A PREROUTING -i wlan0 -p udp --dport 53 -j REDIRECT --to 9999
iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 443 -j REDIRECT --to 9999
Basically, I need every single packet originating from 10.10.10.2 routed through 10.10.10.1:9999 to the Burp proxy.
linux debian iptables routing ufw
New contributor
add a comment |
I have a Wi-Fi hotspot setup in Kali. Interface wlan0 on 10.10.10.1/24. I setup an Android (10.10.10.2) to proxy requests through Burp on port 10.10.10.1:9999. This is done in the Android's Wi-Fi configuration settings. But I'm noticing some apps/services ignore the proxy and contact the internet directly. I can see DNS and TCP requests in Wireshark, for example, totally ignoring the proxy settings.
I tried some iptables
redirects to force packets that ignore the proxy setting to port 9999. Is this possible? My initial attempts at configuring iptables failed, I'm still new to iptables and couldnt figure it out.
iptables -t nat -A PREROUTING -i wlan0 -p udp --dport 53 -j REDIRECT --to 9999
iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 443 -j REDIRECT --to 9999
Basically, I need every single packet originating from 10.10.10.2 routed through 10.10.10.1:9999 to the Burp proxy.
linux debian iptables routing ufw
New contributor
I have a Wi-Fi hotspot setup in Kali. Interface wlan0 on 10.10.10.1/24. I setup an Android (10.10.10.2) to proxy requests through Burp on port 10.10.10.1:9999. This is done in the Android's Wi-Fi configuration settings. But I'm noticing some apps/services ignore the proxy and contact the internet directly. I can see DNS and TCP requests in Wireshark, for example, totally ignoring the proxy settings.
I tried some iptables
redirects to force packets that ignore the proxy setting to port 9999. Is this possible? My initial attempts at configuring iptables failed, I'm still new to iptables and couldnt figure it out.
iptables -t nat -A PREROUTING -i wlan0 -p udp --dport 53 -j REDIRECT --to 9999
iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 443 -j REDIRECT --to 9999
Basically, I need every single packet originating from 10.10.10.2 routed through 10.10.10.1:9999 to the Burp proxy.
linux debian iptables routing ufw
linux debian iptables routing ufw
New contributor
New contributor
New contributor
asked 16 mins ago
user357800user357800
1
1
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
user357800 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f524830%2fhow-to-route-all-incoming-packets-to-remote-proxy%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
user357800 is a new contributor. Be nice, and check out our Code of Conduct.
user357800 is a new contributor. Be nice, and check out our Code of Conduct.
user357800 is a new contributor. Be nice, and check out our Code of Conduct.
user357800 is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f524830%2fhow-to-route-all-incoming-packets-to-remote-proxy%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown