From: "Landon Chelf" <landonc@starrobbins.com>
To: netfilter@lists.netfilter.org
Subject: Multi NIC Gateway and HostAP Box
Date: Fri, 15 Aug 2003 14:32:59 -0400 [thread overview]
Message-ID: <006b01c3635b$a7d0ab30$6901a8c0@Station13> (raw)
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
next reply other threads:[~2003-08-15 18:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-15 18:32 Landon Chelf [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-08-17 21:45 Multi NIC Gateway and HostAP Box George Vieira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='006b01c3635b$a7d0ab30$6901a8c0@Station13' \
--to=landonc@starrobbins.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox