Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 262825
2 votes
1 answer
1k views

Android DHCP Port Redirection

I cannot find a combination of iptables rules that result in DHCP traffic reaching my application. If I send a DHCP DISCOVERY directly to port 6700 I receive the traffic. … A INPUT -i ncm0 -p udp --dport 67 -J REDIRECT --to-port 6700 iptables -A FORWARD -i ncm0 -p udp --dport 6700 -j ACCEPT iptables -A INPUT -i ncm0 -p udp --dport 6700 -j ACCEPT iptables -A PREROUTING -t …
Chris Hutchinson's user avatar
0 votes
Accepted

Android DHCP Port Redirection

iptables -I INPUT -p udp --dport 67 -j ACCEPT iptables -I INPUT -p udp --dport 6700 -j ACCEPT iptables -I PREROUTING -t nat -i ncm0 -p udp -src 0.0.0.0 --dport 67 -j DNAT --to 0.0.0.0:6700 …
Chris Hutchinson's user avatar