Hi,
What distribution are you using? On Mandrake 7.2 they have an application
that does a basic ipmasquerade in DrakConf. However, you will need
ipchains firewall rules to make it work. I think the basic steps are:
A) Load the ipmasq modules,
insmod ip_masq_ftp; insmod ip_masq_raudio; insmod ip_masq_irc should give
a basic setup.

B) Then set firewall rules -
ipchains -P forward DENY
ipchains -A forward -s 192.168.0.0/255.255.255.0 -j MASQ (insert your
internal ip range)
echo 1> /proc/sys/net/ipv4/ip_forward
and you are off and running.
There is a good HOWTO (I think it is anyway) on masquerading and ipchains
- it should be in your /usr/doc/HOWTO/ directory.
 
Some distributions might require you to compile the kernel for
masquerading to work, you will also need ipchains installed.
Any services within the firewall will most probably need portforwarding to
work - this has just been a topic on the list, please check the archives
on how to do this.
hope this helps.

Regards, Mehmet 


On Sat, 25 Nov 2000, George Ferizis wrote:

> Hi all,
> 
>       I basically wish to create a linux gateway out onto the internet. The linux
> box has a dedicated line to it.
> 
>       I do not really want a proxy/firewall setup as this can limit applications
> that can run on the rest of the network.....




-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to