spearhead
10-12-2004, 15:22
After a while of using my router with NAT running on a virtual server (just added a few rules to permit some incoming services) , it suddenly stops to pass outgoing connections through. IE I simply can't connect to anything outside my own network. A simple reboot of the router fixes it. Anyone can help fix this problem?
Also, where is the UDP rule for (ACCEPT udp -- anywhere anywhere udp dpt:6112)?
Firmware 1.8.1.7-3
I had the same problem on the previous release: 1.8.1.7-2
Iptables -L output (port numbers replaced by X, Y, Z etc)
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere state NEW
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp flags:SYN,RST,ACK/SYN limit: avg 1/sec burst 5
ACCEPT tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/RST limit: avg 1/sec burst 5
ACCEPT icmp -- anywhere anywhere limit: avg 1/sec burst 5 icmp echo-request
ACCEPT tcp -- anywhere 192.168.1.3 tcp dpt:X
ACCEPT tcp -- anywhere 192.168.1.3 tcp dpt:Y
ACCEPT tcp -- anywhere 192.168.1.2 tcp dpt:Z
ACCEPT tcp -- anywhere 192.168.1.2 tcp dpt:W
ACCEPT tcp -- anywhere 192.168.1.2 tcp dpt:V
ACCEPT udp -- anywhere anywhere udp dpt:6112
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain logaccept (0 references)
target prot opt source destination
LOG all -- anywhere anywhere state NEW LOG level warning tcp-sequence tcp-options ip-options prefix `ACCEPT '
ACCEPT all -- anywhere anywhere
Chain logdrop (0 references)
target prot opt source destination
LOG all -- anywhere anywhere state NEW LOG level warning tcp-sequence tcp-options ip-options prefix `DROP'
DROP all -- anywhere anywhere
Also, where is the UDP rule for (ACCEPT udp -- anywhere anywhere udp dpt:6112)?
Firmware 1.8.1.7-3
I had the same problem on the previous release: 1.8.1.7-2
Iptables -L output (port numbers replaced by X, Y, Z etc)
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere state NEW
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp flags:SYN,RST,ACK/SYN limit: avg 1/sec burst 5
ACCEPT tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/RST limit: avg 1/sec burst 5
ACCEPT icmp -- anywhere anywhere limit: avg 1/sec burst 5 icmp echo-request
ACCEPT tcp -- anywhere 192.168.1.3 tcp dpt:X
ACCEPT tcp -- anywhere 192.168.1.3 tcp dpt:Y
ACCEPT tcp -- anywhere 192.168.1.2 tcp dpt:Z
ACCEPT tcp -- anywhere 192.168.1.2 tcp dpt:W
ACCEPT tcp -- anywhere 192.168.1.2 tcp dpt:V
ACCEPT udp -- anywhere anywhere udp dpt:6112
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain logaccept (0 references)
target prot opt source destination
LOG all -- anywhere anywhere state NEW LOG level warning tcp-sequence tcp-options ip-options prefix `ACCEPT '
ACCEPT all -- anywhere anywhere
Chain logdrop (0 references)
target prot opt source destination
LOG all -- anywhere anywhere state NEW LOG level warning tcp-sequence tcp-options ip-options prefix `DROP'
DROP all -- anywhere anywhere