Re: Setting up a home wireless server.

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

 



How would you go about setting up the routing, and would that get in the
 way of, for instance, if I want to ssh into my router from the internal
network and opposed to going right through onto the internet.

Seems there's three ways to do this from what I can find,
i.) Set up a bridging device
ii.) Use Iptables (but which, via SNAT or MASQUERADE)
iii.) Use routing tables?

What are the pro's and con's of these approaches.
Cheers,
Jim

Mark Haney wrote:
> James Allsopp wrote:
>> 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
>>
> 
> Honestly, I've never used IPtables for that, I've always made my server
> just act like a router and input static routes between wireless and
> wired networks.  But then maybe my case is special, I route all my
> wireless packets through my server (and squid) so that I can filter what
> my kids get to on the internet.
> 
> 

-- 
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux