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

--=-kQdgzrUfJhdPUqVHJDHM
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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
=20
and rc.conf is

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

--=-kQdgzrUfJhdPUqVHJDHM
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

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

--=-kQdgzrUfJhdPUqVHJDHM--



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