1
23.1 Legacy Series / 23.1.11 - How to get a device out the other end of an ipsec?
« on: September 18, 2023, 03:07:17 pm »
Hi everyone,
I'm fairly new to Opnsense and in general I don't have highly specific expertise on firewalls, I get by, but I'm not an expert. So I am asking for advice from you.
I have two small offices in two different cities, each has its own internet connection with public ip, not static, on which I have configured dynamic dns.
Let's call them office A and office B.
In office A I have Opnsense, in office B I have a simple router.
I have configured an ipsec vpn between office A and office B and the two offices see each other correctly, each accessing each other's resources.
Now I would like a particular device from office A to show up externally with the public ip of office B. The device in question is not a pc or anything else that I can install something on, I have to act on the Opnsense side I guess by creating an adhoc rule for the ip of that device for it to come out on the internet from office B, but I don't know how to do that.
Would anyone be able to help me?
Thanks
I'm fairly new to Opnsense and in general I don't have highly specific expertise on firewalls, I get by, but I'm not an expert. So I am asking for advice from you.
I have two small offices in two different cities, each has its own internet connection with public ip, not static, on which I have configured dynamic dns.
Let's call them office A and office B.
In office A I have Opnsense, in office B I have a simple router.
I have configured an ipsec vpn between office A and office B and the two offices see each other correctly, each accessing each other's resources.
Now I would like a particular device from office A to show up externally with the public ip of office B. The device in question is not a pc or anything else that I can install something on, I have to act on the Opnsense side I guess by creating an adhoc rule for the ip of that device for it to come out on the internet from office B, but I don't know how to do that.
Would anyone be able to help me?
Thanks