dialup gateway howto, need help please
Alexander Dalloz
alexander.dalloz at uni-bielefeld.de
Thu Mar 4 19:42:14 UTC 2004
Am Do, den 04.03.2004 schrieb Jorge Boscán Etura um 17:53:
> Hi
>
> does anyone know how to set up a dialup gateway with fc1? say a recent
> one.
>
> thnx..
Set it up as on other Linux systems.
You did not say how you connect to the internet, analog modem or ISDN
card or DSL modem. Just use redhat-config-network tool to set up the
internet connection.
Then switch on IP forwarding needed for the gateway by editing
/etc/sysctl.conf
net.ipv4.ip_forward = 1
Then set up your "firewalling" using appropriate iptables rules. At
least you need to activate masquerading using a rule like
iptables -A POSTROUTING -o ppp0 -j MASQUERADE
Maybe you need additional ip_conntrack modules like the one for FTP.
On the client side set the gateway your Fedora gateway. You may also use
the ISP DNS servers or else install a nameserver on your gateway and
configure your clients to use that one.
Alexander
--
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 20:32:46 up 13 days, 22:06, load average: 0.25, 0.33, 0.29
[ Γνωθι σ'αυτον - gnothi seauton ]
my life is a planetarium - and you are the stars
More information about the fedora-list
mailing list