LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-19-2006, 06:06 PM   #1
cristianpaul
LQ Newbie
 
Registered: Nov 2006
Posts: 18

Rep: Reputation: 0
Router_Nat_problem


Hi, I have a dhcp connection trought a home router who gives me a IP. Nothing wrong, but it also does NAT and I would you like know how to manage it. I look at
routers's manual, but there are only informations about how and where to blug wires. Nothing about its configuration and and management. I tryed to ping it and I get a "permission denied", same thing with traceroute and telnet. I also tryed
to pass its ip into addressbar in Firefox, but browser fall in a loop. Anybody has some hint to give me?

Best Regards

Cristian Paul.
 
Old 12-19-2006, 06:46 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
What is the router brand and model number?
 
Old 12-19-2006, 06:57 PM   #3
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
permission denied error to your ping queries is a message generated by your localbox & not the router. This could possibily because of no access for your user to ping usage or any firewall rule at your box is blocking these packets.

Can you post the output of
Code:
iptables -nvL
 
Old 12-20-2006, 10:32 AM   #4
cristianpaul
LQ Newbie
 
Registered: Nov 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Mrs Plijvalez my router is buid by Telsey.com ( this is its site http://www.telsey.it/Default.jsp) and its model numer is CPA-K-TE4*T--; CPA-K-TE4*FWB.
I have looked for it on Telsey's site and I found some similar model, but I didn't find the same router's kind.
Mr AmitSharma_26 ask me to post the output of "iptables -nvL". I have executed this command and gotted the output, but I'am unsure if to post it or not. May be my provider ( Fastweb ) shoul be really unhappy for that. We risk a law action by my provider and even LQ rules not permitted this kind of things. Moreover in my first message I wrote that when I ping to my router I recieved as replay: permission denied; it was my mistake: the right output ping message is "operation not permitted". Sorry for that.

Anyway thanks a lot for all yours hints.
 
Old 12-20-2006, 10:40 AM   #5
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally Posted by cristianpaul
Moreover in my first message I wrote that when I ping to my router I recieved as replay: permission denied; it was my mistake: the right output ping message is "operation not permitted". Sorry for that.
Permission denied meant that your user does'nt have rights to run that command & Operation not permitted means that iptables is blocking it to do it.

Quote:
Originally Posted by cristianpaul
Mr AmitSharma_26 ask me to post the output of "iptables -nvL". I have executed this command and gotted the output, but I'am unsure if to post it or not. May be my provider ( Fastweb ) shoul be really unhappy for that. We risk a law action by my provider and even LQ rules not permitted this kind of things.
I dont see any reason that why would your provider would be worried about the firewall ruleset of your own box. These firewall ruleset are meant for your own box & your own LAN, I really dont see any sense in your worries. And if you are worried about some real ip as being your identification; you can waive them off or replace them with some other ip to save yourself from some privacy invasion.
 
Old 12-20-2006, 06:09 PM   #6
cristianpaul
LQ Newbie
 
Registered: Nov 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Ok Mr Amit, I trust you, sorry me I'am just a newbie and I'am afraid to do somthing very dongerous or wrong.

This is the output of command line:


root@darkstar:~# iptables -nvL

Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
1 324 ACCEPT udp -- eth0 * 0.0.0.0/0 0.0.0.0/0 udp spt:67 dpt:68
0 0 ACCEPT udp -- eth0 * 0.0.0.0/0 0.0.0.0/0 udp spt:68 dpt:67
0 0 ACCEPT all -- eth0 * 27.241.157.21 27.241.159.255
29 1232 logaborted tcp -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED tcp flags:0x04/0x04
275K 350M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 3
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 11
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 12
12 576 nicfilt all -- * * 0.0.0.0/0 0.0.0.0/0
12 576 srcfilt all -- * * 0.0.0.0/0 0.0.0.0/0

Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 3
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 11
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 12
0 0 srcfilt all -- * * 0.0.0.0/0 0.0.0.0/0

Chain OUTPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT udp -- * eth0 0.0.0.0/0 0.0.0.0/0 udp spt:68 dpt:67
0 0 ACCEPT udp -- * eth0 0.0.0.0/0 0.0.0.0/0 udp spt:67 dpt:68
185K 30M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 3
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 11
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 12
604 36503 s1 all -- * * 0.0.0.0/0 0.0.0.0/0

Chain f0to1 (3 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:65535 dpt:4662 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:65535 dpt:4666
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:65535 dpts:6881:6889 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpts:6970:7170
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:65535 dpt:41170
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:65535 dpts:41000:41999 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:65535 dpts:2300:2400
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpts:1411:1415 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpts:1411:1415
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:65535 dpt:6699 state NEW
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:65535 dpt:6257
12 576 logdrop all -- * * 0.0.0.0/0 0.0.0.0/0

Chain f1to0 (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:25 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:535 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:535
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:4661 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:4662 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpt:4665
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpt:4666
56 3352 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:6881:6889 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:143 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:143
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:6660:6669 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:119 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:10000 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:5900:5903 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:5800 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:23 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:543 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:554 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:7070 state NEW
2 120 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:443 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:123
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:123 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:79 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:79
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:888 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:111 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:111
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:2401 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:389 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:65535 dpt:41170
3 180 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:6969 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:19150 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:5432 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:110 state NEW
1 60 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:6346 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:636 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:8500 state NEW
304 18240 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:80 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:41000:41999 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:901 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:47624 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:2300:2400 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:65535 dpts:2300:2400
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:873 state NEW
6 360 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:21 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:98 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:631 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:631
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:111 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:111
191 11460 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpts:1024:65535 state NEW
25 1771 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:2049 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:2049
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:1214 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpt:1214
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:411:415 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:1411:1415 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpts:411:415
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpts:1411:1415
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1411:1415 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1411:1415
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpt:37
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:37 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:3306 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:2628 state NEW
1 60 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:22 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:0:1023 dpt:22 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:544 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:16001 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:524 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpt:524
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spt:427 dpt:427
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:427 dpt:427 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:2303 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spt:2645 dpt:2645
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:3632 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:11371 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpt:161
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:80 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:8080 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:8008 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:8000 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:8888 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:993 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:8880 state NEW
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:3000 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:109 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:5631 state NEW
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpt:5632
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:5222 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:5223 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:5190:5193 state NEW
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpts:5190:5193
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:65535 dpt:6699 state NEW
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spt:6257 dpts:1024:65535
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:5690 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:7890:7893 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:389 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:522 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:1503 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:1720 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:1731 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:1024:65535 state NEW
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpts:1024:65535
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:7002 state NEW
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:65535 dpt:27010
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:65535 dpts:27005:27050
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:7937:9936 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:10001:30000 state NEW
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpts:7937:9936
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpts:10001:30000
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:13223 state NEW
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:13223
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:6112 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:4000 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:7000 state NEW
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpts:1024:65535
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:11999 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:1863 state NEW
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:27910
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:995 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:1241 state NEW
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:177
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:6000:6063 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:1755 state NEW
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:1755
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:27500
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:26000
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:5050 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpt:23 state NEW
0 0 logreject tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:5999 dpts:5000:5001 state NEW
0 0 logreject udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spts:1024:5999 dpt:5000
15 900 logdrop all -- * * 0.0.0.0/0 0.0.0.0/0

Chain logaborted (1 references)
pkts bytes target prot opt in out source destination
29 1232 logaborted2 all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 1/sec burst 10
0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 2/min burst 1 LOG flags 0 level 4 prefix `LIMITED '

Chain logaborted2 (1 references)
pkts bytes target prot opt in out source destination
29 1232 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 LOG flags 7 level 4 prefix `ABORTED '
29 1232 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED

Chain logdrop (4 references)
pkts bytes target prot opt in out source destination
27 1476 logdrop2 all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 1/sec burst 10
0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 2/min burst 1 LOG flags 0 level 4 prefix `LIMITED '
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0

Chain logdrop2 (1 references)
pkts bytes target prot opt in out source destination
27 1476 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 LOG flags 7 level 4 prefix `DROPPED '
27 1476 DROP all -- * * 0.0.0.0/0 0.0.0.0/0

Chain logreject (48 references)
pkts bytes target prot opt in out source destination
0 0 logreject2 all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 1/sec burst 10
0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 2/min burst 1 LOG flags 0 level 4 prefix `LIMITED '
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 reject-with tcp-reset
0 0 REJECT udp -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0

Chain logreject2 (1 references)
pkts bytes target prot opt in out source destination
0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 LOG flags 7 level 4 prefix `REJECTED '
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 reject-with tcp-reset
0 0 REJECT udp -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0

Chain nicfilt (1 references)
pkts bytes target prot opt in out source destination
12 576 RETURN all -- eth0 * 0.0.0.0/0 0.0.0.0/0
0 0 RETURN all -- eth0 * 0.0.0.0/0 0.0.0.0/0
0 0 RETURN all -- lo * 0.0.0.0/0 0.0.0.0/0
0 0 logdrop all -- * * 0.0.0.0/0 0.0.0.0/0

Chain s0 (1 references)
pkts bytes target prot opt in out source destination
12 576 f0to1 all -- * * 0.0.0.0/0 27.241.157.21
0 0 f0to1 all -- * * 0.0.0.0/0 27.241.159.255
0 0 f0to1 all -- * * 0.0.0.0/0 127.0.0.1
0 0 logdrop all -- * * 0.0.0.0/0 0.0.0.0/0

Chain s1 (1 references)
pkts bytes target prot opt in out source destination
604 36503 f1to0 all -- * * 0.0.0.0/0 0.0.0.0/0

Chain srcfilt (2 references)
pkts bytes target prot opt in out source destination
12 576 s0 all -- * * 0.0.0.0/0 0.0.0.0/0

Thank you

Cristian Paul.

P.S. What do you mean with "box"?
 
Old 05-05-2007, 07:49 PM   #7
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

"box" is slang for YOUR computer. YOUR computer is YOUR Linux Box" or short version "box". Changing YOUR IP numbers could look like this. Really [192.168.0.10], change to [192.168.50.75]. Or really [192.168.0.10], change to [192.168.xxx.xxx]. As mentioned, to protect YOUR privacy. YOU should be able to open a browser. Then in the URL field, place the router's IP Address. Then press the "Enter" key. YOU should see the router's Home Page. Then YOU can read the data of YOUR router. Write down the router's username and also the password. This is important. Most Linus Distro's have at least two password's to remember. Most of us have more than one Distro. The math is simple. Write the data down, that way YOU can always go look it up. Hope this helps.
 
Old 05-05-2007, 07:51 PM   #8
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

"box" is slang for YOUR computer. YOUR computer is YOUR "Linux Box" or short version "box". Changing YOUR IP numbers could look like this. Really [192.168.0.10], change to [192.168.50.75]. Or really [192.168.0.10], change to [192.168.xxx.xxx]. As mentioned, to protect YOUR privacy. YOU should be able to open a browser. Then in the URL field, place the router's IP Address. Then press the "Enter" key. YOU should see the router's Home Page. Then YOU can read the data of YOUR router. Write down the router's username and also the password. This is important. Most Linus Distro's have at least two password's to remember. Most of us have more than one Distro. The math is simple. Write the data down, that way YOU can always go look it up. Hope this helps.
 
  


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



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

All times are GMT -5. The time now is 05:16 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
Open Source Consulting | Domain Registration