Linux Debian support - vmware with shorewall

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > April 2007 > vmware with shorewall





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author vmware with shorewall
tompelka@gmail.com

2007-03-21, 1:16 am

Hello i have a small problem.
Im trying to practise vmplayer+shorewall (host system) on Debianu/Etch
in vmplayer runs another Debian too.
Here is a problem, shorewall reject comunication between host and
virtual host.

ping from host system on 192.168.163.129

Shorewall:INPUT:REJECT:IN=vmnet8 OUT=
MAC=00:50:56:c0:00:08:00:0c:29:d1:84:87:
08:00 SRC=192.168.163.129
DST=192.168.163.1 LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=22357 PROTO=ICMP
TYPE=0 CODE=0 ID=13432 SEQ=2

Isn't it wrong? Allong my mind : SRC=192.168.163.1;
DST=192.168.163.128

wmnet1 have 172.16.54.1

wmnet8 have 192.168.163.1

Shorewall is confured subsequently: /etc/shorewall/policy:

wm1 all ACCEPT info
wm8 all ACCEPT info

/etc/shorewall/zones:

wm1 ipv4

wm8 ipv4

/etc/shorewall/interfaces:

wm1 wmnet1 - -

wm8 wmnet8 - -

/etc/shorewall/rules:

ACCEPT all wm1

ACCEPT all wm8

I thing, that is a problem with policy, but a don't know how to setup
it.
Have anybody any idea?
Thanks

tompelka@gmail.com

2007-04-26, 7:12 am


tompelka@gmail.com napsal:
> Hello i have a small problem.
> Im trying to practise vmplayer+shorewall (host system) on Debianu/Etch
> in vmplayer runs another Debian too.
> Here is a problem, shorewall reject comunication between host and
> virtual host.
>
> ping from host system on 192.168.163.129
>
> Shorewall:INPUT:REJECT:IN=vmnet8 OUT=
> MAC=00:50:56:c0:00:08:00:0c:29:d1:84:87:
08:00 SRC=192.168.163.129
> DST=192.168.163.1 LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=22357 PROTO=ICMP
> TYPE=0 CODE=0 ID=13432 SEQ=2
>
> Isn't it wrong? Allong my mind : SRC=192.168.163.1;
> DST=192.168.163.128
>
> wmnet1 have 172.16.54.1
>
> wmnet8 have 192.168.163.1
>
> Shorewall is confured subsequently: /etc/shorewall/policy:
>
> wm1 all ACCEPT info
> wm8 all ACCEPT info
>
> /etc/shorewall/zones:
>
> wm1 ipv4
>
> wm8 ipv4
>
> /etc/shorewall/interfaces:
>
> wm1 wmnet1 - -
>
> wm8 wmnet8 - -
>
> /etc/shorewall/rules:
>
> ACCEPT all wm1
>
> ACCEPT all wm8
>
> I thing, that is a problem with policy, but a don't know how to setup
> it.
> Have anybody any idea?
> Thanks



My mistake, must bee:

/etc/shorewall/interfaces:

wm1 vmnet1 - -

wm8 vmnet8 - -

Not "w" in vmnetx :-)

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com