Re: Multiple NAT router



On Mon, Jul 24, 2006 at 04:09:29PM +0200, Marko Zec wrote:
There's a project called 'vimage' which adds a separate virtual forwarding
table per jail. This might work for you, although all the natd's "outside"
interfaces would need to sit on the same interface, and I don't know if it
can do that.

Yes this should work with a virtualized stack - all the "outsied" interfaces
in each jail / virtual stack could be simply bridged together using netgraph
which is virtualization-agnostic, i.e. a global facility in the current
implementation of "vimage".

Of course a significant problem might be that the stack virtualization patches
exist only for FreeBSD 4.x, but there's a very good chance that a formal
project aimed at bringing vimage into sync with 6.x and -CURRENT could start
shortly...

Also, what would really suit him is a netgraph IP interface node - i.e.
something which takes raw ethernet frames from the interface, performs IP
encapsulation/decapsulation and ARP - and an IP forwarding node with its own
forwarding table. Has anyone done any work in that area? It would be really
cool for VPN edge routing, for example.

Regards,

Brian.
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Multiple NAT router
    ... in each jail / virtual stack could be simply bridged together using netgraph which is virtualization-agnostic, i.e. a global facility in the current implementation of "vimage". ... Of course a significant problem might be that the stack virtualization patches exist only for FreeBSD 4.x, but there's a very good chance that a formal project aimed at bringing vimage into sync with 6.x and -CURRENT could start shortly... ... something which takes raw ethernet frames from the interface, ... encapsulation/decapsulation and ARP - and an IP forwarding node with its own ...
    (freebsd-net)
  • Re: jails and multple interfaces
    ... The server has two network interfaces, I am configuring one for host ... the jail servers. ... IP on the first interface. ... I want to segregate the jail and jail host traffic on separate interfaces. ...
    (freebsd-stable)
  • Possible security issue with FreeBSD 5.4 jailing and BPF
    ... While playing around with FreeBSD 5.4 and jailing I discovered that it was ... and a BPF device is available in the jail ... "The Berkeley Packet Filter provides a raw interface to data link layers ... The ethernet interface of the host is not in promiscious mode. ...
    (Bugtraq)
  • [Full-disclosure] Possible security issue with FreeBSD 5.4 jailing and BPF
    ... While playing around with FreeBSD 5.4 and jailing I discovered that it was ... and a BPF device is available in the jail ... "The Berkeley Packet Filter provides a raw interface to data link layers ... The ethernet interface of the host is not in promiscious mode. ...
    (Full-Disclosure)
  • [ronvdaal@zarathustra.linux666.com: Possible security issue with FreeBSD 5.4 jailing and BPF]
    ... While playing around with FreeBSD 5.4 and jailing I discovered that it was ... and a BPF device is available in the jail ... "The Berkeley Packet Filter provides a raw interface to data link layers ... Now starting tcpdump in the jail: ...
    (FreeBSD-Security)