Results 1 to 4 of 4
Hi,
My LAN is 192.168.160.0
I have a Draytek router 192.168.160.1 and I DMZ to my
Ubuntu 9.10 Server (2.6.31-14-generic-pae) which I run a few services on.
I have just ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-20-2009 #1Just Joined!
- Join Date
- Nov 2009
- Posts
- 5
iptables - adding a 2nd subnet for WiFi?
Hi,
My LAN is 192.168.160.0
I have a Draytek router 192.168.160.1 and I DMZ to my
Ubuntu 9.10 Server (2.6.31-14-generic-pae) which I run a few services on.
I have just added a Wireless Card 192.168.3.1, installed DHCPd and HOSTAPd, creating a 2nd subnet 192.168.3.0. The card is working fine as an AP and I now need assistance with adding filtering to IPTABLES.
I want wireless peers to be able to get a DHCP address and to access my LAN and the internet.
Help with setting up the filtering, and I believe MASQuerading would be appreciated.
David
- 11-20-2009 #2
Look at the rules you have setup for 160 and then copy what you want over to 3 network.
- 11-21-2009 #3Just Joined!
- Join Date
- Nov 2009
- Posts
- 5
Many thanks Robert.
I thought I would need to MASquerade the 163 subnet to get internet access via the DSL Router (192.168.160.2) but I'll give your suggestion a go.
David
- 11-22-2009 #4
MASQ should only be used on the outward facing interface and only MASQ traffic that is leaving.


Reply With Quote
