Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Expose services at SiteB to WWW via SiteA using VPN tunnel (already built)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Expose services at SiteB to WWW via SiteA using VPN tunnel (already built) (Read 1146 times)
jeffmcfarlin
Newbie
Posts: 5
Karma: 0
Expose services at SiteB to WWW via SiteA using VPN tunnel (already built)
«
on:
January 03, 2023, 12:21:58 am »
Ok guys, I got an interesting one that I can't seem to figure out. I'm new to OpnSense, but not networking etc. I just replaced my main home FW with OpnSense, and I should've done this years ago tbh. I've tried all sorts of stuff and I just can't seem to get this to work. I'm thinking there must be a way.
To wit:
SiteA is home (static FiOS)
SiteB is remote (behind Starlink [CGNat])
Both sites have a single /24 and a single OpnSense FW as the main FW.
192.168.100.2/24 (SiteA)
192.168.0.1/24 (SiteB)
I've built my OpenVPN tunnel (SiteA server, SiteB client) and all is working perfectly. I simply would like to expose services at SiteB to the www via SiteA. There's other services (mostly paid) that can do this, but I don't want to go that route. I'd prefer to do this via OpnSense and the VPN tunnel. This was working before when SiteB was Exede/Viasat which provides a real IP, but now, well - Starlink. You understand.
Anyways - thoughts?
Jeff
«
Last Edit: January 03, 2023, 12:29:26 am by jeffmcfarlin
»
Logged
bartjsmit
Hero Member
Posts: 2016
Karma: 194
Re: Expose services at SiteB to WWW via SiteA using VPN tunnel (already built)
«
Reply #1 on:
January 03, 2023, 10:08:57 am »
Reverse proxy at site A looks the most logical
Logged
jeffmcfarlin
Newbie
Posts: 5
Karma: 0
Re: Expose services at SiteB to WWW via SiteA using VPN tunnel (already built)
«
Reply #2 on:
January 03, 2023, 11:54:52 pm »
Great idea - that worked for 6 of the 7 services/devices I needed to expose. The final one is an Elk Products M1 Gold security panel ethernet card/add-on (static IP, proprietary encrypted protocol). Still messing around with it.
Thanks!
Jeff
Logged
jeffmcfarlin
Newbie
Posts: 5
Karma: 0
Re: Expose services at SiteB to WWW via SiteA using VPN tunnel (already built)
«
Reply #3 on:
January 04, 2023, 02:45:52 am »
Went with a single free ngrok tunnel for that last service to expose it on the Starlink side. Yay!
Now to get the IDS/IPS stuff configured.
Jeff
Logged
bartjsmit
Hero Member
Posts: 2016
Karma: 194
Re: Expose services at SiteB to WWW via SiteA using VPN tunnel (already built)
«
Reply #4 on:
January 04, 2023, 09:51:57 am »
Good to hear you got it fixed and thanks for reporting back
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Expose services at SiteB to WWW via SiteA using VPN tunnel (already built)