Source IP Address Based Port Forwarding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2014 07:46 AM - edited 03-04-2019 10:12 PM
I'm looking to set up port forwarding to forward incoming traffic to different internal machines depending on its source IP address. Unfortunately the ports that will be used are not static and therefore it cannot be port based.
Is this possible? The current solution is no good as I am just forwarding everything that comes in on an interface to one internal machine.
Thanks for the help.
Francis
- Labels:
-
Routing Protocols
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2014 02:05 AM
Its worth looking at the following thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2014 03:02 AM
Can you explain a bit more regarding the source address?
Is it a public address?
Why does the source address matter?
Port forwarding is usually done on an attribute you can control which is generally the internal private IP address and/or the port number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2014 03:26 AM
Thanks for the reply.
So I have 2 machines sending traffic from the outside which I need to be port forwarded to 2 different addesses on the inside. All have fixed IP addresses
So if a.a.a.0 is the external network range, and b.b.b.0 is my internal, i need traffic from a.a.a.1 coming into my external interface address and to be forwarded on to b.b.b.1, and from a.a.a.2 to be forwarded to b.b.b.2. So I need the port forwarding to be based on the source address.
