Say, when I try connect to CentOS server with VNC viewer to ip: 42.44.6.139 nothing gets logged.But if I ping or ssh it is picked up. I can login via vnc to eth0. VNC server listening on all ports.Please help.
This is my routing
[root@localhost sysconfig]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
dsl-146-152-01. * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.10.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default * 0.0.0.0 U 0 0 0 ppp0
and my Firewall:
Saving firewall rules to /etc/sysconfig/iptables: [ OK ]
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
8 320 ACCEPT tcp -- any any anywhere anywhere tcp dpt:ssh
0 0 LOG all -- any any anywhere anywhere LOG level warning
0 0 ACCEPT all -- lo any anywhere anywhere
0 0 ACCEPT all -- eth0 any anywhere anywhere
0 0 ACCEPT all -- ppp0 any anywhere anywhere
0 0 ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 6 packets, 756 bytes)
pkts bytes target prot opt in out source destination
and
[root@localhost sysconfig]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:02:E3:4C:A0:05
inet addr:192.168.10.77 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::202:e3ff:fe4c:a005/6
4 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29066996 errors:1 dropped:0 overruns:0 frame:0
TX packets:29066454 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2074256317 (1.9 GiB) TX bytes:374799651 (357.4 MiB)
Interrupt:201
eth1 Link encap:Ethernet HWaddr 00:06:4F:7D:17:05
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::206:4fff:fe7d:1705/6
4 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29452 errors:0 dropped:0 overruns:0 frame:0
TX packets:58244 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3449712 (3.2 MiB) TX bytes:4473441 (4.2 MiB)
Interrupt:177 Base address:0xcc00
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:1868 errors:0 dropped:0 overruns:0 frame:0
TX packets:1868 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3674111 (3.5 MiB) TX bytes:3674111 (3.5 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:42.44.6.139 P-t-P:164.144.152.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:275 errors:0 dropped:0 overruns:0 frame:0
TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:43357 (42.3 KiB) TX bytes:37983 (37.0 KiB)