Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
opnsense with 2 IP's - for outgoing always use first IP showing
« previous
next »
Print
Pages: [
1
]
Author
Topic: opnsense with 2 IP's - for outgoing always use first IP showing (Read 1720 times)
bforpc
Full Member
Posts: 144
Karma: 1
opnsense with 2 IP's - for outgoing always use first IP showing
«
on:
August 28, 2020, 07:33:26 am »
Hi,
my opnsense has one IP at the WAN interface and a second one (also on the wan Interface) as virtual IP.
On 2 VM's running a Web service, each one has a different public ip from opensense.
Everything works, both VM's are public available with their IP.
But both are answering with the first WAN IP of opnsense. This can be problematic.
How can i fix that?
Bfo
Logged
daniel78
Newbie
Posts: 7
Karma: 1
Re: opnsense with 2 IP's - for outgoing always use first IP showing
«
Reply #1 on:
August 28, 2020, 12:24:05 pm »
Do you have set up an outbound NAT rule?
Like: WAN interface, source: your Server, NAT-Adress: your virtal (2nd IP)
Logged
bforpc
Full Member
Posts: 144
Karma: 1
SOLVED: opnsense with 2 IP's - for outgoing always use first IP showing
«
Reply #2 on:
September 01, 2020, 02:15:00 pm »
Thats it.
thx
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
opnsense with 2 IP's - for outgoing always use first IP showing