Dennis Pabalan wrote:

Hello!

Use a firewall (iptables) to masquearade and enable ip forwarding


Daniel wrote:

Hi,

How do i go about building a gateway like windows internet connection
sharing in red hat 8.

Thanks
Daniel








I followed the next steps:

1) With Lokkit I set up a maximum security firewall (maybe not the best...)
2) Installed Webmin that allows you to set up/modify new rules in your iptables ...
3) Changed a flag fro 0 to 1 in systcl.conf file that allows masquerading
4) Added a simple rule for masquerading in Webmin firewall rule page

This is the required additional line in your iptables file (if you use ppp0 for connection)

-A POSTROUTING -o ppp0 -j MASQUERADE

Regards

Antonio Montagnani




--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to