internet access from jail, on host acting as nat gateway
Next message: Cole: "Pthread / Memory Problem."
To: freebsd-hackers@freebsd.org
Date: Wed, 26 May 2004 23:08:28 +0800
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"
Next message: Cole: "Pthread / Memory Problem."
Relevant Pages
- Changes in Jails from FreeBSD 6 to FreeBSD 9 -- particularly, networking and routing
... If I launch the jail with an address from the same public range as the host, ... The jail can access the internet fine and vice versa. ... What changes happened in the jails between FBSD 6 and FBSD 9 that would give the symptoms I have been experiencing? ... (freebsd-questions) - RE: OT: the detection of illegal gateways
... Get the MAC address of each node on the network. ... Remember that almost any host on a network could have routing ... The connection that you seek may be on the other side of a windows or ... be responded to via the internet). ... (Pen-Test) - Re: 2 pc network - cant see host files from pc 2 on pc 1
... If the second card is lost on HOST PC then DSL Internet does not connect. ... Ditch the second network card in the one ... (microsoft.public.windowsxp.security_admin) - RE: Spamcop listed - need help to diagnose why
... >> The damage done to the Internet by just a single host that might ... using archaic versions of Exchange, or notes mail, or whatever - these ... All I said was that listing systems that do not ... (freebsd-questions) - Jails - Pseudo Interfaces/ Virtual Networks - Best Practices?
... I'm in the process of planning a transition from VMWare (on CentOS host) hosting service-specific FreeBSD virtual machines to the seemingly more efficient, stable, and lower maintenance cost approach, now that I've figured out at least some of the "magic" of creating jails under FreeBSD. ... The questions generally relate to being able to consistently identify traffic from/to the jails, inside and outside the jail host, with tools such as ipfw and tcpdump. ... With VMWare, I was used to being able to create a pseudo-interface that could be "wired" to a virtual "switch" and then that switch could be bridged to a physical interface. ... Here DNS needs to be run for the host itself only, to be able to start up NTP and allow ssh connections for management over the "protected" interface. ... (freebsd-questions) |
|