Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Multiple VIP and static routes
« previous
next »
Print
Pages: [
1
]
Author
Topic: Multiple VIP and static routes (Read 1931 times)
samnet
Jr. Member
Posts: 61
Karma: 2
Multiple VIP and static routes
«
on:
August 26, 2020, 02:01:56 am »
Hi
Im having a problem on my current opnsense, I have several VIPs like xxx.xx.xx.190 (default gw)
xxx.xx.xx.191 (opnsense wan ip) xxx.xx.xx.192 (vip and doing port forward to exchange server in my lan) xxx.xx.xx.193 (vip and doing port forward to ftp server) ...etc
my main target is to get the exchange get back to internet via ip xxx.xx.xx.192 and not via the xxx.xx.xx.191 which is opnsense.
is this possible and how?
Logged
----------------------------
Breeding Open Source
M0n0wall -> PfSense -> OpnSense -> Make lots of sense
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: Multiple VIP and static routes
«
Reply #1 on:
August 26, 2020, 04:54:24 am »
When I ran my mailserver from home I used a 1 to 1 NAT, Set type to BINAT, add the firewall rules, I used a floating rule with an alias for the ports. Don't forget to add the WAN address of the server as a virtual IP.
«
Last Edit: August 26, 2020, 04:55:58 am by marjohn56
»
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: Multiple VIP and static routes
«
Reply #2 on:
August 26, 2020, 04:59:37 am »
Here's an image of my 1:1 nat setting
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
samnet
Jr. Member
Posts: 61
Karma: 2
Re: Multiple VIP and static routes
«
Reply #3 on:
September 15, 2020, 10:46:07 pm »
Thanks for sharing the info. can you pls lay out the steps needed for this to work,
I will need to do this for
1. email server
2. voip
3. ftp ...etc
all having separate public IPs
Logged
----------------------------
Breeding Open Source
M0n0wall -> PfSense -> OpnSense -> Make lots of sense
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Multiple VIP and static routes