[Firehol-support] need help

Costa Tsaousis costa at tsaousis.gr
Tue Apr 6 22:54:20 BST 2010


στις 2/4/2010 10:42 μμ, O/H Tamer Higazi έγραψε:
> Hi people!
> I do have firehol and I have 2 NIC and I really need help.  Because I am
> not getting handled that the other CPU in my lan and I am not really an
> firewall expert. Could anybody of you help me? How will I have to
> configure firehol and the client behind it, that the client easily jumps
> through IP-Masquerading in the internet?!
>
>
> For any advise I would kindly thank you.
>
>
>
> eth0: 192.168.1.2  Bcast:192.168.1.255  Maske:255.255.255.0
> eth3: inet Adresse:192.168.2.1  Bcast:192.168.2.255  Maske:255.255.255.0
> ppp0: inet Adresse:85.xxx.xxx.x  P-z-P:213.191.64.102  Maske:255.255.255.255
>
>    


something simple to start with:

---
masquerade ppp+


interface eth+ lan
policy accept

interface ppp+ world
client all accept

router world2lan inface ppp+ outface eth+
client all accept

router lan2lan inface eth+ outface eth+
route all accept

----

The above trusts your LANs (eth0 and eth3) and allows everyone on the 
LANs to reach each other and the internet.

Costa





More information about the Firehol-support mailing list