Networking Forums

Networking Forums > Computer Networking > Linux Networking > IP masquerading but no Web Server

Reply
Thread Tools Display Modes

IP masquerading but no Web Server

 
 
Peter
Guest
Posts: n/a

 
      10-28-2003, 02:38 PM
To all,
I set up Masquerading successfully with 2 machines and a crossover cable
and PPP to DSL.

I can browse the web from both machines but I can't browse the Apache
Web server which is on the internet facing machine. I'm using the
rc.firewall-2.4-stronger


I uncommented this line in rc.firewall-2.4-stronger;


$IPTABLES -A INPUT -i $EXTIF -m state --state NEW,ESTABLISHED,RELATED
\ |
-p tcp -s $UNIVERSE -d $EXTIP --dport 80 -j ACCEPT


What am I missing?


Thanks,
Peter
 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      10-28-2003, 11:56 PM
On 28 Oct 2003 07:38:08 -0800, Peter <(E-Mail Removed)> wrote:
> To all,
> I set up Masquerading successfully with 2 machines and a crossover cable
> and PPP to DSL.
>
> I can browse the web from both machines but I can't browse the Apache
> Web server which is on the internet facing machine. I'm using the
> rc.firewall-2.4-stronger


No clue what distro that is. Are you attempting to access apache via its
ppp0 IP from behind masq? That would typically be blocked by
anti-spoofing.

To access it _from_ the internet you would need to allow incoming port 80
to ppp0 (and check httpd.conf and related for Deny/Allow directives). To
access it from LAN side, you would need to access its LAN IP. You could
point a public name to its private IP locally using /etc/hosts.

--
David Efflandt - All spam ignored http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
 
Reply With Quote
 
Peter
Guest
Posts: n/a

 
      10-29-2003, 07:24 PM
(E-Mail Removed) (Peter) wrote in message news:<(E-Mail Removed) om>...
> To all,
> I set up Masquerading successfully with 2 machines and a crossover cable
> and PPP to DSL.
>

Red Hat 9.

It turns out Verizon blocks port 80 for dynamic addresses(34.00 per
month), you need to get a static ip for port 80 access(89.00 per
month). Damn!

-Peter


> I can browse the web from both machines but I can't browse the Apache
> Web server which is on the internet facing machine. I'm using the
> rc.firewall-2.4-stronger
>
>
> I uncommented this line in rc.firewall-2.4-stronger;
>
>
> $IPTABLES -A INPUT -i $EXTIF -m state --state NEW,ESTABLISHED,RELATED
> \ |
> -p tcp -s $UNIVERSE -d $EXTIP --dport 80 -j ACCEPT
>
>
> What am I missing?
>
>
> Thanks,
> Peter

 
Reply With Quote
 
PenguinsAnonymous
Guest
Posts: n/a

 
      11-01-2003, 05:08 AM
Peter <(E-Mail Removed)> wrote:
> To all,
> I set up Masquerading successfully with 2 machines and a crossover cable
> and PPP to DSL.


> I can browse the web from both machines but I can't browse the Apache
> Web server which is on the internet facing machine. I'm using the
> rc.firewall-2.4-stronger



> I uncommented this line in rc.firewall-2.4-stronger;



> $IPTABLES -A INPUT -i $EXTIF -m state --state NEW,ESTABLISHED,RELATED
> \ |
> -p tcp -s $UNIVERSE -d $EXTIP --dport 80 -j ACCEPT



> What am I missing?


Why don't you access it via the eth0 internal address
instead of ppp0. Have someone on the outside check
it via the ppp interface after you know it responds.
This way you can isolate whether a server or route
issue. (also not enough info here)

-Walt


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spammers masquerading as me Doug Laidlaw Linux Networking 1 07-25-2004 12:21 AM
IP Masquerading Tejas Kokje Linux Networking 1 04-14-2004 02:42 AM
non-masquerading firewall FEEB Linux Networking 3 01-30-2004 02:46 PM
Masquerading Ali Rafeek Linux Networking 1 01-03-2004 04:33 PM
Mail server masquerading problem Joshua Valkenier Linux Networking 0 07-29-2003 09:57 AM



1 2 3 4 5 6 7 8 9 10 11