[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ipmasq diald and mail
Put this in your rc.local so it will enable at boot.
/sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
/sbin/ipfwadm -F -p deny
Correct the ip entry to match your internal network
addresses. Every machine must have an ip within this
class C, make the linux box .1, which will be the
gateway for all the other machines you wish to serve
tcp/ip to.
That's all there is to it. Of course your kernel needs
to have ip_masq support compiled.
Joe
On Sun, 11 Jan 1998, Erez Doron wrote:
> Hi
> I'm trying to configure my linux-box (RedHat4.2, 2.0.33) as a server.
>
> my net is :
>
> local net
> (192.9.200.x)
> |
> | ------ ------------
> | |Linux | | ISP with |
> |-----|Box |--------| Dynamic-IP |---- internet
> | |192.9.| | via PPP |
> | |200.7 | | |
> | ------ ------------
>
> I'm trying to build my linux box as a firewall
> It should connect to the internet via PPP using diald
> ( I've already configured diald successfully )
> I'm trying to use squid as a proxy and either
> sendmail or qmail as mail server ( which is better ?
> easyer to config ? safer ? )
>
> I've read the ipmasq mini HOWTO but still have trouble
> to understand more then the basic of ip-masq.
> ( to what ports does it redirect inside computers,
> how does it know who is inside the firewall and who
> is outside. what parameters do i use with ipfwadm )
> I have basic Idea of ipfwadm, but only for non ip-masq
> purpuses. ( -I -O and -F ).
>
> any info, help , pointers will be welcome
>
> Thanks
> Erez
> erez@savan.com
>
>
>
---------------------------------------------------------------------
Joseph Barnhart <flaboy@gnv.fdt.net> | HellSouth Communications
Technician, FDT.NET | flaboy@HellSouth.Com
http://ns.HellSouth.Com/bb | irc@aoHELL.org
http://www.HellSouth.Com | http://www.mirc-bbs.com
---------------------------------------------------------------------