Jump to content

Another Shorewall Question


Guest Joe Noob
 Share

Recommended Posts

Guest Joe Noob

Well Ive read about the shorewall probs and none of the solutions really fit me. Im not on a network or having download problems. Im using dial up 56k on a single user laptop, the problem is I cant open any web pages,I connect to the internet fine and when I shut off shorewall I can surf no prob. But I turn it back on and I get web page cannot be found check the name ect. I think its just a matter of adding a line or two into files but I cant figure out which ones the only solution I found that was close, the guy added a line to his adsl file but im on dial up. I think this solution is for me (not sure) but its all greek.

 

15. My local systems can't see out to the net

Answer: Every time I read "systems can't see out to the net", I wonder where the poster bought computers with eyes and what those computers will "see" when things are working properly. That aside, the most common causes of this problem are:

The default gateway on each local system isn't set to the IP address of the local firewall interface.

The entry for the local network in the /etc/shorewall/masq file is wrong or missing.

The DNS settings on the local systems are wrong or the user is running a DNS server on the firewall and hasn't enabled UDP and TCP port 53 from the firewall to the internet.

 

Can anyone tell me if this is the fix and if so how to do it;

1) How do I set the IP address of the local firewall

2) What should the entery in /etc/shorewall/masq look like

3) I know the DNS settings are right in KPPP otherwise would'nt work and like I said I cane surf fine with no firewall. I havent enabled UDP and TCP port 53.

Any help would be Veerryy much appreciated this firewall deal is so far over my head.

Thanx Joe

Link to comment
Share on other sites

Guest Joe Noob

Ya Counterspy is right I did kinda skim over the docs, I just know that its one little thing, and I was looking for the easy way out, I guess %*#%@^ counterspy :D

So if you need me I'll be the one reading the 50 sum odd pages of shorewall docs yelling "WHAT, What the heck is that supposed to mean, man windows is looking alot better"

Then I'll get it worked out and remember how many times windows crashed on me and every thing will be right with the world again but just in case it doesnt, I'll keep those links handy thanx anon.

I was wondering what about shorewall didnt you like, is it buggy or doesnt it work as well as others or something?

Link to comment
Share on other sites

You have to teach Shorewall to DROP the connection on port you want if you want to be Stealth. Open /etc/shorewall/policy and modify it to your needs. Here is mine and I'm 100% stealth.

 

masq    net     ACCEPT

loc     net     ACCEPT

fw      net     ACCEPT

net     all     DROP    info

all     all     REJECT  info

 

The important line is 'net all DROP' .. which tell shorewall to not even answer the tcp/udp call from the net.

 

Of course, the firewall need to be restarted after mods are make in the config files --> service shorewall restart

 

MOttS

Link to comment
Share on other sites

Guest Joe Noob

well thanx for the help guys but I couldnt figure out the docs so now Im the proud operator of Guarddog. I hope i have it configured right, I'll have to check for leaks later the link keeps timing out right now.

:D 8)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...