I need some advice for this type of use.
Usually the PC named A activates a connection with the OpenVPN server named B, then through the VPN, the PC A is able to connect to the PC named C.
I need to do the opposite.
PC A connects to server B, but once the VPN is active, PC C will be able to connect to PC A.
I can't figure out how to make this connection and how to set up the network.
OpenVPN connection, the opposite
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Sep 28, 2022 6:41 pm
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: OpenVPN connection, the opposite
Hi,
Try to describe the setup more accurately, network wise.
Is PC C behind the OpenVPN server?
If I understand your question correctly start reading here first:
https://community.openvpn.net/openvpn/w ... rversubnet
Try to describe the setup more accurately, network wise.
Is PC C behind the OpenVPN server?
If I understand your question correctly start reading here first:
https://community.openvpn.net/openvpn/w ... rversubnet
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
Halton Arp
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Sep 28, 2022 6:41 pm
Re: OpenVPN connection, the opposite
Now I read your link.
About the network.
Code: Select all
PC_C ------------------- Server_B - - - - - - - - VPN - - - - - - - - PC_A
192.168.100.50 192.168.100.11 Tunnel 10.1.1.0 192.168.200.100 (its IP in its Network)
Remote LAN 192.168.100.100 (Its IP in Remote Network)
With the VPN started, PC_C connects to PC_A
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: OpenVPN connection, the opposite
Looks like you want tap (layer 2).192.168.100.100 (Its IP in Remote Network)
Do you really need that or would tun (layer 3) suffice?
Normally it is advised against so I never bothered looking into it.
If you really need layer 3 someone will probably chime in as I cannot help you with that.
If you already have a working setup then post some info on that:
viewtopic.php?t=22603
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
Halton Arp