* Multi NIC Gateway and HostAP Box
@ 2003-08-15 18:32 Landon Chelf
0 siblings, 0 replies; 2+ messages in thread
From: Landon Chelf @ 2003-08-15 18:32 UTC (permalink / raw)
To: netfilter
Hello,
I've been working on getting HostAP up an running on my redhat 9 box. I
can see my access point from other wireless clients but I can't seem to
get inet access through hostap. I know it has something to do with
iptables and I'm not an iptables guru or anything.
Ok here is my setup:
Eth0 = Internet
Eth1 = Private Net1
Wlan0 = Access Point
I can access the internet locally fine but I can't access it from the
wireless clients. Below is what I currently have as my iptables setup.
Thanx to anyone who can help me get this up.
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
# Accept all traffic from the loopback interface.
-A INPUT -i lo -j ACCEPT
# Accept legitimate responses to traffic we generate.
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
# Allow inbound DNS requests from the wireless network.
-A INPUT -s 0/0 -p udp --dport 53 -j ACCEPT
-A INPUT -s 0/0 -p tcp --dport 53 -j ACCEPT
# Allow inbound DHCP from the Local wireless network
-A INPUT -i wlan0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
# Allow all traffic from the LAN to be forwarded to the WLAN.
-A FORWARD -i eth0 -o wlan0 -j ACCEPT
# Forward all legitimate responses to forwarded traffic.
-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
------------------------------------------------
Sincerely,
Landon
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Multi NIC Gateway and HostAP Box
@ 2003-08-17 21:45 George Vieira
0 siblings, 0 replies; 2+ messages in thread
From: George Vieira @ 2003-08-17 21:45 UTC (permalink / raw)
To: Landon Chelf, netfilter
You have no POSTROUTING rules for your wireless clients? So how are you to NAT them onto the internet, you are currently routing them only.
Do some tcpdumps and check the packets your passing through.
Thanks,
____________________________________________
George Vieira
Systems Manager
georgev@citadelcomputer.com.au
Citadel Computer Systems Pty Ltd
http://www.citadelcomputer.com.au
-----Original Message-----
From: Landon Chelf [mailto:landonc@starrobbins.com]
Sent: Saturday, August 16, 2003 4:33 AM
To: netfilter@lists.netfilter.org
Subject: Multi NIC Gateway and HostAP Box
Hello,
I've been working on getting HostAP up an running on my redhat 9 box. I
can see my access point from other wireless clients but I can't seem to
get inet access through hostap. I know it has something to do with
iptables and I'm not an iptables guru or anything.
Ok here is my setup:
Eth0 = Internet
Eth1 = Private Net1
Wlan0 = Access Point
I can access the internet locally fine but I can't access it from the
wireless clients. Below is what I currently have as my iptables setup.
Thanx to anyone who can help me get this up.
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
# Accept all traffic from the loopback interface.
-A INPUT -i lo -j ACCEPT
# Accept legitimate responses to traffic we generate.
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
# Allow inbound DNS requests from the wireless network.
-A INPUT -s 0/0 -p udp --dport 53 -j ACCEPT
-A INPUT -s 0/0 -p tcp --dport 53 -j ACCEPT
# Allow inbound DHCP from the Local wireless network
-A INPUT -i wlan0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
# Allow all traffic from the LAN to be forwarded to the WLAN.
-A FORWARD -i eth0 -o wlan0 -j ACCEPT
# Forward all legitimate responses to forwarded traffic.
-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
------------------------------------------------
Sincerely,
Landon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-17 21:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-15 18:32 Multi NIC Gateway and HostAP Box Landon Chelf
-- strict thread matches above, loose matches on Subject: below --
2003-08-17 21:45 George Vieira
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox