Re: dialup gateway howto, need help please

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

 



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





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

  Powered by Linux