LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-20-2004, 04:39 AM   #1
aps_rewa
LQ Newbie
 
Registered: May 2004
Location: INDIA
Distribution: RedHat, Mandrake, Debian
Posts: 3

Rep: Reputation: 0
ppp connection


hi i have setup dial-up connection on Red Hat 8.0 working fine

here is iptables rules that i configured:

iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP

echo 1 > /proc/sys/net/ipv4/ip_forward

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -A FORWARD -i ppp0 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -i eth0 -o ppp0 -j ACCEPT

eth0 is connected to lan via switch

now from another system i can ping to out side of the world

but when i try to access any site from mozilla first it says web site found
waiting for reply and gets hang

i don't know why it is happening plz help me?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help configuring my PPP connection trumsey2003 Linux - Hardware 0 01-28-2004 03:16 PM
ppp connection help LUXX Linux - Newbie 4 11-14-2003 01:06 AM
problem with ppp connection jro Linux - Networking 2 08-25-2003 09:35 AM
Slow PPP connection RHrulz Linux - Networking 2 12-06-2002 03:34 PM
PPP Connection problem ..please help skopy Linux - Networking 2 09-22-2001 01:56 AM


All times are GMT -5. The time now is 11:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration