LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-09-2002, 01:36 AM   #1
Statement
LQ Newbie
 
Registered: Mar 2002
Posts: 3

Rep: Reputation: 0
Question IP chains?


Hello Guys,
I have a prob with diald, I had posted a message earlier, I think it was a bit too elaborate question for someone to answer. Actually the problem is that any one on the network is able to bring up the link, which I dint want to happen. What I wanted was that only certain users be able to bring up the link, and others can browse only if the link is up by the prioritised user, but as of now a request from any browser on any machine brings it up. I used the "bringup" rule to filter the packet, but dint work. I tried to dig a bit deep into it and came to the conclusion(which may be rong after all) that all the packets gets maquaraded wen it reaches my gateway. I need to get the packets b4 it is being masq'ed to know thw actual IP. How do I do it ?IP chains? If yes please try to be a bit eloborate cos i havent got an experince working on the IP chains. If wat I concluded is rong pls lemme know where I am rong ,and if u have any thing to tell which cud get over this prob.
10x in Advance
 
Old 03-09-2002, 10:44 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Could you post the results of ipchains -L command?
 
Old 03-09-2002, 05:02 PM   #3
bbenz3
Member
 
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284

Rep: Reputation: 30
I have never messed with a dial-up account but I do know that iptables is being used a lot now adn documentation is pretty widely available.
With iptables you could specify what int IPs could create a connection.
 
Old 03-10-2002, 11:50 PM   #4
Statement
LQ Newbie
 
Registered: Mar 2002
Posts: 3

Original Poster
Rep: Reputation: 0
Ip chains Output

Hi thanks for the reply ...hewre is the IP chains -L output

Chain input (policy REJECT):
target prot opt source destination ports
ACCEPT all ------ anywhere anywhere n/a
ACCEPT all ------ anywhere anywhere n/a
ACCEPT tcp ------ anywhere *.*.151.86 any -> 1024:5999
ACCEPT tcp ------ anywhere *.*.151.86 any -> 6010:65535
ACCEPT udp ------ anywhere *.*.151.86 any -> any
ACCEPT icmp ------ anywhere *.*.151.86 any -> any
Chain forward (policy REJECT):
target prot opt source destination ports
MASQ udp ------ anywhere anywhere any -> any
MASQ icmp ------ anywhere anywhere any -> any
MASQ all ------ term1 anywhere n/a
MASQ all ------ term2 anywhere n/a
MASQ tcp ------ term3 anywhere any -> www
MASQ tcp ------ term3 anywhere any -> smtp
MASQ tcp ------ term7 anywhere any -> 554
MASQ all ------ sedate anywhere n/a
MASQ tcp ------ term12 anywhere any -> www
MASQ tcp ------ term14 anywhere any -> smtp
MASQ tcp ------ term19 anywhere any -> ftp
MASQ all ------ rev anywhere n/a
MASQ all ------ term21 anywhere n/a
MASQ tcp ------ term22 anywhere any -> 8888
MASQ tcp ------ term23 anywhere any -> www
MASQ tcp ------ term23 anywhere any -> smtp
MASQ tcp ------ term27 anywhere any -> www
MASQ tcp ------ term28 anywhere any -> smtp
MASQ all ------ term51 anywhere n/a
MASQ all ------ term52 anywhere n/a
MASQ all ------ revibm anywhere n/a
MASQ all ------ term61 anywhere n/a
MASQ all ------ term62 anywhere n/a
MASQ all ------ pdc anywhere n/a
Chain output (policy ACCEPT):
 
Old 03-11-2002, 03:00 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Well, maybe in your situation it would be easier to switch to iptables. With ipchains I don't know a method to do this without additional software.
 
  


Reply



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
ip masquerade ip chains alaios Linux - Networking 2 05-20-2004 05:45 AM
how packets traverse thru iptables chains? hardigunawan Linux - Security 1 01-09-2003 01:50 AM
IP Chains and Timbuktu Michael Rhoades Linux - Security 1 12-03-2002 05:00 PM
IP CHAINS Question d-rez Linux - Networking 3 06-03-2002 01:26 PM
ip chains iquadri1 Linux - Networking 0 09-29-2001 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:20 AM.

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
Open Source Consulting | Domain Registration