Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
can anypne help me out in my security related problem, which as follows:
my config --> I have of PCs running linux and Windows XPs. i need iptables configuration for the following situation:
1. LAN browing among Windows and Linux ( for that I have Samba & it's working).
2. I have internet on PC, running Redhat 8, i want to share it's internet connection with LAN. (i have dialup access.)
3. A reliable and strong firewall for the PC connecting to internet and for the whole LAN.
since i'm newbie to Linux and to iptables(of course) , i need advice in this regard.
any help and any links to related site/forum would be appreciated.
thanks.
try the squid to share internet with other pc and you should have a dns server it is beter i will send you a squid .conf file to help you in configuratin and the cange you need to do in your configuration you use the iptable to secure your server realy am using a squid and it is very good sorry now am not in my office tommorow mornning i will sent it for you am in networking forum now you can start the xinted service and configure your dns service in any pc linux or 2000 server
thanks raheel, but is there any way i can use just the iptables for fireall/internet connection sharing? i heard / read about NAT/MANGLING and masquerading...
does iptables really a (good) firewalll and can it allow the LAN requests to internet through ruleset(s).
pls note that i want to allow my LAN PCs to be able to use www,ftp, irc+chat(msn,yahoo etc).
if iptables can do all that, or with squid, i would wait for the iptables rules and/or squid config .
p.s. Sorry I didn't get to this quicker... Next time try a few searches first if you are in a hurry. Not everyone reads/responds to threads that are similar in nature to already answered questions so be prepared to wait a few days before bumping a topic.. No worries.
J.
TAAN... you should not be using those rules as a firewall. They are insecure because a spoofed ip address will be allowed to forward into your network uncontested.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.