Quote:
|
Originally Posted by camh Can you post your firewall rules? |
Yes, I will post the iptables, ifconfig and routing results. I use apf which has worked well, hence the long list. Just can't seem to get past the routing issue.
Thank you again for your help on this.
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- 192.168.77.0/24 anywhere
ACCEPT all -- 192.168.0.0/24 anywhere
DROP tcp -- anywhere anywhere tcp dpt:ftp
DROP udp -- anywhere anywhere udp dpt:ftp
DROP tcp -- anywhere anywhere tcp dpt:ssh
DROP udp -- anywhere anywhere udp dpt:ssh
DROP tcp -- anywhere anywhere tcp dpt:telnet
DROP udp -- anywhere anywhere udp dpt:telnet
DROP tcp -- anywhere anywhere tcp dpts:epmap:netbios-ssn
DROP udp -- anywhere anywhere udp dpts:epmap:netbios-ssn
DROP tcp -- anywhere anywhere tcp dpt:sunrpc
DROP udp -- anywhere anywhere udp dpt:sunrpc
DROP tcp -- anywhere anywhere tcp dpt:microsoft-ds
DROP udp -- anywhere anywhere udp dpt:microsoft-ds
DROP tcp -- anywhere anywhere tcp dpt:login
DROP udp -- anywhere anywhere udp dpt:who
DROP tcp -- anywhere anywhere tcp dpt:efs
DROP udp -- anywhere anywhere udp dpt:router
DROP tcp -- anywhere anywhere tcp dpt:microsoft-ds
DROP udp -- anywhere anywhere udp dpt:microsoft-ds
DROP tcp -- anywhere anywhere tcp dpt:ms-sql-s
DROP udp -- anywhere anywhere udp dpt:ms-sql-s
DROP tcp -- anywhere anywhere tcp dpt:ms-sql-m
DROP udp -- anywhere anywhere udp dpt:ms-sql-m
DROP tcp -- anywhere anywhere tcp dpt:search-agent
DROP udp -- anywhere anywhere udp dpt:search-agent
IN_SANITY tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,PSH,ACK,URG/NONE
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpt:51828
ACCEPT tcp -- anywhere anywhere tcp dpt:51829
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable limit: avg 30/sec burst 5
ACCEPT icmp -- anywhere anywhere icmp redirect limit: avg 30/sec burst 5
ACCEPT icmp -- anywhere anywhere icmp time-exceeded limit: avg 30/sec burst 5
ACCEPT icmp -- anywhere anywhere icmp echo-reply limit: avg 30/sec
burst 5
ACCEPT icmp -- anywhere anywhere icmp type 30 limit: avg 30/sec burst 5
ACCEPT icmp -- anywhere anywhere icmp echo-request limit: avg 30/sec burst 5
DROP tcp -- anywhere anywhere tcp flags:!FIN,SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT udp -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT udp -- resolver.qwest.net anywhere udp spt:domain dpts:1023:65535
ACCEPT tcp -- resolver1.qwest.net anywhere tcp spt:domain dpts:1023:65535
DROP tcp -- anywhere anywhere tcp spt:domain dpts:1023:65535
DROP udp -- anywhere anywhere udp spt:domain dpts:1023:65535
ACCEPT udp -- resolver.qwest.net anywhere udp spt:domain dpts:1023:65535
ACCEPT tcp -- resolver2.qwest.net anywhere tcp spt:domain dpts:1023:65535
ACCEPT tcp -- anywhere anywhere tcp spts:1023:65535 dpt:ftp state
RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere multiport dports ftp,ftp-data state RELATED,ESTABLISHED
ACCEPT udp -- anywhere anywhere multiport dports ftp,ftp-data state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp spt:ssh dpts:login:65535 state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp spts:1024:65535 dpt:ssh flags:FIN,SYN,RST,ACK/SYN state RELATED,ESTABLISHED
ACCEPT udp -- anywhere anywhere udp dpt:ssh state ESTABLISHED
ACCEPT udp -- anywhere anywhere state NEW udp dpts:traceroute:33534
DROP tcp -- anywhere anywhere
DROP udp -- anywhere anywhere
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere 192.168.77.0/24
ACCEPT all -- anywhere 192.168.0.0/24
DROP tcp -- anywhere anywhere tcp dpt:ftp
DROP udp -- anywhere anywhere udp dpt:ftp
DROP tcp -- anywhere anywhere tcp dpt:ssh
DROP udp -- anywhere anywhere udp dpt:ssh
DROP tcp -- anywhere anywhere tcp dpt:telnet
DROP udp -- anywhere anywhere udp dpt:telnet
OUT_SANITY tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,PSH,ACK,URG
OUT_SANITY tcp -- anywhere anywhere tcp flags:FIN,SYN/FIN,SYN
OUT_SANITY tcp -- anywhere anywhere tcp flags:SYN,RST/SYN,RST
OUT_SANITY tcp -- anywhere anywhere tcp flags:FIN,RST/FIN,RST
OUT_SANITY tcp -- anywhere anywhere tcp flags:FIN,ACK/FIN
OUT_SANITY tcp -- anywhere anywhere tcp flags:PSH,ACK/PSH
OUT_SANITY tcp -- anywhere anywhere tcp flags:ACK,URG/URG
FUDP udp -f anywhere anywhere
PZ udp -- anywhere anywhere udp dpt:0
PZ tcp -- anywhere anywhere tcp dpt:0
ACCEPT tcp -- anywhere anywhere tcp dpts:1024:65535 state RELATED,ESTABLISHED
ACCEPT udp -- anywhere anywhere udp dpts:1024:65535 state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp spt:ftp dpts:1023:65535 state
RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere multiport dports ftp,ftp-data state RELATED,ESTABLISHED
ACCEPT udp -- anywhere anywhere multiport dports ftp,ftp-data state RELATED,ESTABLISHED
ACCEPT udp -- anywhere anywhere state NEW udp dpts:traceroute:33534
ACCEPT all -- anywhere anywhere
Chain FUDP (2 references)
target prot opt source destination
DROP all -- anywhere anywhere
Chain GTA (0 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Ifconfig:
eth0 Link encap:Ethernet HWaddr 00:E0:18:5F:C9:05
inet addr:192.1xx.1xx.201 Bcast:192.1xx.1xx.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:18ff:fe5f:c905/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:80114 errors:10 dropped:0 overruns:0 frame:10
TX packets:12563 errors:0 dropped:0 overruns:0 carrier:0
collisions:3 txqueuelen:1000
RX bytes:6494082 (6.1 MiB) TX bytes:1271771 (1.2 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8069 errors:0 dropped:0 overruns:0 frame:0
TX packets:8069 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7521827 (7.1 MiB) TX bytes:7521827 (7.1 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8069 errors:0 dropped:0 overruns:0 frame:0
TX packets:8069 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7521827 (7.1 MiB) TX bytes:7521827 (7.1 MiB)
Routing:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.1xx.1xx.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.1xx.1xx.254 0.0.0.0 UG 0 0 0 eth0