LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2003, 01:31 PM   #1
slashrsm
LQ Newbie
 
Registered: Nov 2003
Location: Portoroz - Slovenija
Distribution: Gentoo, Debian
Posts: 13

Rep: Reputation: 0
Question Problems with ADSL router


Hi.... i have problems configuring router for ADSL. I use Debian testing release.
I have ppp0 and eth0 interfaces working properly. Router with address 192.168.1.1 in pinged sucsessfully from one of local computers with address 192.168.1.28 for example. Pinging local computer from router or pinging an external address from local box is not sucssesfull too.

My routing table looks like this:

Dest. GW NM iface
BSN-access.dsl. * 255.255.255.255 ppp0
192.168.1.0 * 255.255.255.0 eth0
default BSN-access.dsl. 0.0.0.0 ppp0


and I used these iptables comands:

iptables -t nat -P POSTROUTING DROP
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
 
Old 12-15-2003, 02:30 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Can you post the output of
iptables -L
please? The two statements you
made can't possibly be your entire
rules-set? If it were you'd be dropping
everything before processing it.


Cheers,
Tink
 
Old 12-16-2003, 09:02 AM   #3
slashrsm
LQ Newbie
 
Registered: Nov 2003
Location: Portoroz - Slovenija
Distribution: Gentoo, Debian
Posts: 13

Original Poster
Rep: Reputation: 0
sorry i found new commands for masq in Masquerade-simple-HOW-TO.....
i just don't know if my routing tabel is ok..... i think that first line makes problems......
 
  


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
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM
Problems Installing USB ADSL Ethernet Router in Mandrake 9.1 mb0o53 Linux - Hardware 0 11-11-2003 10:09 PM
ADSL Router problems amirspl Linux - Networking 3 09-16-2003 01:54 AM
ADSL Router problems ckupris Linux - Networking 2 06-13-2003 11:57 AM
Problems with PPPoE/ADSL router dswansburg Linux - Networking 1 12-20-2001 10:56 PM


All times are GMT -5. The time now is 03:29 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration