Solved

masquerading question

Posted on 1997-11-04
1
264 Views
Last Modified: 2012-05-04
I have set up a LINUX box as a firewall with IP-masquerading. I think I got it all set up correctly after a multitude of trials, but I still have a question. I have a PPP connection to the ISP and an ethernet internal network.

The masquerading HOWTO lists specific commands for setting up the masquerading:

ipfwadm -F -p deny
ipfwadm -F -a m -S XXX.XXX.XXX.0/24 -D 0.0.0.0/0

with an optional -V YYY.YYY.YYY.YYY or -W ifname as options.

When I test it without the options, everything works fine and I can access the internet and newsgroups from any PC on the internal net.

When I specify the -V option with the internal IP address of the LINUX box, I cannot get out. The same applies, when I use the -W option with eth0 as the ifname. If I specify -W ppp0, then everything is fine again.

Is there a security hole, or is this OK?

Again, the ppp0 is the external connection of the firewall, the eth0 is the internal connection.

Michael Bode
mb@soft-imaging.com
0
Comment
Question by:mbode
1 Comment
 
LVL 4

Accepted Solution

by:
unicorntech earned 60 total points
Comment Utility
This looks to be ok by me - I don't feel there is a security hole here. I would also set up tcpd and the /etc/hosts.allow and the /etc/hosts.deny files ( do a man on tcpd) to deny access to services as well,

Regards,

Jason
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now