Mailing List Archive

[lvs-users] 1-to-1 IP Mapping?
Is there an easy way to tell LVS that any packet received from the outside to a certain IP address on any port should be NAT'ed and forwarded inbound to the same port on a different IP address?

--
Eric Robinson


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] 1-to-1 IP Mapping? [ In reply to ]
> -----Original Message-----
> From: lvs-users-bounces@linuxvirtualserver.org [mailto:lvs-users-
> bounces@linuxvirtualserver.org] On Behalf Of Eric Robinson
> Sent: 08 October, 2016 16:03
> To: LinuxVirtualServer.org users mailing list.
> Subject: [lvs-users] 1-to-1 IP Mapping?
>
> Is there an easy way to tell LVS that any packet received from the outside to a
> certain IP address on any port should be NAT'ed and forwarded inbound to the
> same port on a different IP address?
>
> --
> Eric Robinson
>


Hi Eric,

LVS using FWM (ipvsadm -f ... ) should be able to meet your requirements. There are a lot of articles on the internet about how to do that. Here is one few to get you started:

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.fwmark.html

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users