I want to have a single public IP masqueraded for most internet traffic, but I want to be able to 1:1 nat one of my other public IP's
this is how the network will appear
Code: Select all
Cable Modem
|
_______________________________
WAN INTERFACE eth0 WAN INTERFACE eth1
MASQUERADE 1:1 NAT
XX.XX.XX.102/27 XX.XX.XX.103/27
| |
______________________________
LAN interface eth2
10.0.0.1
_______|_______
24 port switch
________________|______________
| | |
users users 1:1 NAT to eth1
10.0.0.10
I tried setting up a virtual ethernet interface for the second public IP, but was unable to get that to function. I also tried bridging eth0 and eth1 together, but this also did not work. Every solution I've tried resulted in either none of the functionality that I wanted, or traffic no longer being routed.
I'm obviously missing something. Any help appreciated!