1
Virtual private networks / Access far ressources via wireguard (routing problem)
« on: February 20, 2023, 06:50:01 pm »
Hi,
I stuck with my wireguard configuration. I tried to draw a litte overview to illustrate the use case I want to realize. (Access a far ressource with multiple clients).
I would be appreciated if somebody can help me.
Thanks you very much in advance.
Paul
I stuck with my wireguard configuration. I tried to draw a litte overview to illustrate the use case I want to realize. (Access a far ressource with multiple clients).
Code: [Select]
-------------------- ----------------------- --------------------- --------------
| Client 1 | | | | | | example |
| PC |-------------------|OPNsense with Wireguard|-------------------->|Router with Wireguard|-------------->| (FTP)Server |
| | | Client | | Server | | |
-------------------- ----------------------- --------------------- --------------
-------------------- | |
| Client 2 | | |
| PC |----------------------- |
-------------------- |
-------------------- |
| Client 3 | |
| PC |---------------------------
--------------------
I'm at the point, where I can ping from the opnsense the destinated router and the ftp-server. But I can't reach them from the client pc's. For my understanding I didn't create all needed routing rules or something. Second, am I right, that the configuration of the clients via DHCP (fixed ip adresses based on mac adresses from opnsense dhcp-server, has no impact on the wireguard config? I have no idea, where the problem is and how I have to procedd.I would be appreciated if somebody can help me.
Thanks you very much in advance.
Paul