OpenVZ Forum


Home » General » Support » Host firewall -- SOLVED
Re: Host firewall [message #3052 is a reply to message #3045] Tue, 09 May 2006 19:56 Go to previous messageGo to previous message
ferp2 is currently offline  ferp2
Messages: 29
Registered: May 2006
Junior Member
1.
are these rules:
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
intentional?

If I'm not mistaken the above comes from:
$IPT -I INPUT 1 -p ALL -m state --state RELATED,ESTABLISHED -j ACCEPT
$IPT -I OUTPUT 1 -p ALL -m state --state RELATED,ESTABLISHED -j ACCEPT
# above 2 rules allow response to future rules using --state NEW

2.
can you also please specify your network settings: host/VPS IP/mask?
Host IP and mask:
ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:FC:72:56:44
inet addr:192.168.0.7 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14857 errors:0 dropped:0 overruns:0 frame:0
TX packets:10341 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1562177 (1.4 MiB) TX bytes:1615613 (1.5 MiB)
Interrupt:11 Base address:0xdc00

VPS IP and mask
ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

venet0 Link encap:UNSPEC HWaddr 00-00-FF-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:12798 errors:0 dropped:0 overruns:0 frame:0
TX packets:8817 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1182031 (1.1 MiB) TX bytes:1226952 (1.1 MiB)

venet0:0 Link encap:UNSPEC HWaddr 00-00-FF-FF-FF-FF-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.0.102 P-t-P:192.168.0.102 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: number of partitions
Next Topic: system limits
Goto Forum:
  


Current Time: Wed Oct 16 00:47:48 GMT 2024

Total time taken to generate the page: 0.04785 seconds