You have no idea how greatful I am, that works a treat xD I so owe you a beer, or a few!!!!mstombs wrote:Well I have no means to test but am sure it is possible, maybe even with just one command of the style:
which says - add a rule to the nat table that anything leaving the modem on the wan interface (assuming ppp0) that comes only from your private LAN should be NATed.Code: Select all
iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.1.0/24 -j MASQUERADE
I'm assuming as per other threads that your modem has a WAN IP on the DSL ppp0 interface, but also a local LAN IP so you can connect your wireless devices, without special routing.
Change the -A (add) to -D (delete) to delete the rule (or reboot, this is not 'sticky')
So does that basically mean that the wireless group is now NAT/Masqueraded and the wired side is No-NAT?? Amezzin!! I'm turning my Wii on now
[cherring crowd] .... It works!! [/cherring crowd]
Go now! You can't be that smart; it's not fair!!!!
oO( I wanna be a linux master )