Hi,
Because I want to switch to zimbra 8.0 (and because zimbra support for freebsd is very poor) I want to setp a virtualbox ubuntu guest inside my 1&1 FreeBSD Root Server.
1&1 is not allowing a second MAC come up on a public Interface - so bridged networking does not work as usual and will result in a switch port lock if you do it.
Under Linux I got it working several times by creating a bridge without contact to the outer world (only internal ips) and ip forwarding rules via iptables.
Can anyone suggest me the FreeBSD way for doing that?
I set up the guest with host-only Networking and tried it with pf rules like
I have tried several variations but cannot get a working solution.
One problem is, that I have no internet access inside the guest.
If I try to reach the webserver or ssh from the internet connection is timing out, maybe because of the not functional internet acces inside the guest.
Can anyone point me the direction of doing that right?
Regards
Marc Seibert
Because I want to switch to zimbra 8.0 (and because zimbra support for freebsd is very poor) I want to setp a virtualbox ubuntu guest inside my 1&1 FreeBSD Root Server.
1&1 is not allowing a second MAC come up on a public Interface - so bridged networking does not work as usual and will result in a switch port lock if you do it.
Under Linux I got it working several times by creating a bridge without contact to the outer world (only internal ips) and ip forwarding rules via iptables.
Can anyone suggest me the FreeBSD way for doing that?
I set up the guest with host-only Networking and tried it with pf rules like
Code:
nat on vboxnet0 from 192.168.56.101 to any -> ($ext_if)
nat on $ext_if from 192.168.56.101 to any -> ($ext_if)
rdr pass on $ext_if inet proto {udp, tcp} from any to $DEDICATED_PUBLIC_IP -> 192.168.56.101
I have tried several variations but cannot get a working solution.
One problem is, that I have no internet access inside the guest.
If I try to reach the webserver or ssh from the internet connection is timing out, maybe because of the not functional internet acces inside the guest.
Can anyone point me the direction of doing that right?
Regards
Marc Seibert