Hi, Ryan...
Ryan Kruse wrote :
This is how I redirect 10443 to 443. You have to NAT it back to another host, which will just be your machines IP. You should be able to sub in your server IP and DNS ports.
Thank you for your help. I did as you said, /mutatis mutandis/,
unfortunately it didn't work. Here're my iptables commands (starting from
clear tabes) :
___________________________________________________________________________
# /usr/sbin/iptables -t nat -A OUTPUT -d localhost -p udp --dport 53 -j
REDIRECT --to-ports 10053
# host=10.0.0.1
# /usr/sbin/iptables -t nat -A OUTPUT -d $host -p udp --dport 53 -j REDIRECT
--to-ports 10053
# /usr/sbin/iptables -t nat -A PREROUTING -d $host -p udp --dport 53 -j
REDIRECT --to-ports 10053
___________________________________________________________________________
Here 10.0.0.1 is my local host's IP on eth0 (the LAN)
Now here's what happened when trying to contact my local DNS listener
(Tor-alpha) :
______________________________________________________________________
# host www.grc.com 10.0.0.1
;; reply from unexpected source: 127.0.0.1#10053, expected 10.0.0.1#53
;; reply from unexpected source: 127.0.0.1#10053, expected 10.0.0.1#53
;; connection timed out; no servers could be reached
_______________________________________________________________________
You see, it appears just like per my previous question, replies weren't
NATTed back !
Maybe a version problem ?
_____________________________
#iptables --version
iptables v1.2.9
_____________________________
--
Noino
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html