Setting up a home wireless server.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
I'm setting up a wireless access point and I've got the laptop to
connect to the server, and dhcp working, but I can't get the firewall to
forward packets to the outside wall. I've seen some people setting up a
bridging device, but before I've done it using iptables. Is one of these
methods better, deprecated or just different?

I'm using the iptables script described here;
http://iptables-tutorial.frozentux.net/iptables-tutorial.html#INCLUDERCFIREWALL

the forward part is here
$IPTABLES -A FORWARD -i $LAN_IFACE -j ACCEPT
$IPTABLES -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
$IPTABLES -t nat -A POSTROUTING -o $INET_IFACE -j SNAT --to-source $INET_IP

But there doesn't seem to be anything to redirect the return packets or
to tell it which interface the outbound packets should be on.

It says in the tutorial masquerade should be avoided due to the extra
CPU, any comments?

Thanks,
Jim

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux