Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2004 23:08:28 +0800
From:      Khairil Yusof <kaeru@pd.jaring.my>
To:        freebsd-hackers@freebsd.org
Subject:   internet access from jail, on host acting as nat gateway
Message-ID:  <1085584107.51323.21.camel@wolverine>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Asking here, because I got no replies in questions@ :(

I'm having a problem here, where I can't access the internet from inside
my jails. The host and another computer on the lan (fxp0) have no
problems connecting to the internet via natd. I don't have any problems
for connections between the host and jail either.

Is internet access from a jail, for this kind of setup possible?

I do have a divert all rule:
divert 8668 ip from any to any via tun0
 
and rc.conf is

natd_interface="tun0"
natd_flags="-dynamic yes -s -m"
nfs_reserved_port_only="NO"

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAtLLrDAqnLW/+/X8RAj04AKDQdpj5SYdbDXIrhWhRKvz4k1m8TwCg4Gy1
yhW1g8iGRjTOayES41N439g=
=++US
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1085584107.51323.21.camel>