NAT with only one interface
I'm wondering if it is possible to set up NAT for local network using only one interface on my BSD server?
I'm using OpenBSD, and have this configuration:
vr0 dhcp - uses dhcp to get ip from cable modem
vr0 alias 192.168.1.1 - gateway for local network
ip.networking.forwarding (or something like that - i'm currently not on that server)
from vr0 on 192.168.0.0/16 to (vr0) - something similar
All computers, and cable modem are connected to switch.
The problem is, that it seems to me that network is crashing on this setup. I've came to that conclusion because, sometimes I can ping outside, but most of the times I can't (for example, from ten attempts only one succeeds, and when it succeeds it only works for short period of time - couple of seconds).
From OpenBSD server everything works fine.
Inside local network everything also works fine.
But when I try to surf using computer from within the network, I need to refresh page couple of times for it to load (and most of the time, it doesn't load fully).
|Thread||Thread Starter||Forum||Replies||Last Post|
|Web interface for rTorrent||Beastie||FreeBSD Ports and Packages||0||24th August 2009 11:53 AM|
|CARP interface with DHClient||xinform3n||OpenBSD General||5||22nd July 2009 12:41 PM|
|Dell R300 bce interface not recognized under 7.0||jwilson||FreeBSD General||2||28th July 2008 07:39 PM|
|Interface - total bandwidth||centerstage||OpenBSD General||11||18th June 2008 11:20 PM|
|Web interface for pf?||windependence||OpenBSD Security||4||20th May 2008 03:58 AM|