Hi Ørjan

Den 04-12-2016 kl. 09:36 skrev Ørjan Tønder:
I have successful setup a openvpn network all clients can reach outside and
lan,
but the server cant reach the clients.

network setup
    10.8.1.0/24
          server 10.8.1.1/24
          clients 10.8.1.2-130/24

The routing table from the server:
root@charon:/usr/local/etc/openvpn # netstat  -r
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
default            static.1.31.4.46.c UGS         re0
10.8.1.0/24        link#5             U          tap0
10.8.1.1           link#5             UHS         lo0
10.8.2.1           link#3             UH          lo1
10.8.2.3           link#3             UH          lo1
46.4.31.0/26       link#1             U           re0
tuxlab.no          link#1             UHS         lo0
localhost          link#2             UH          lo0

Internet6:
Destination        Gateway            Flags     Netif Expire
::/96              localhost          UGRS        lo0
localhost          link#2             UH          lo0
::ffff:0.0.0.0/96  localhost          UGRS        lo0
fe80::/10          localhost          UGRS        lo0
fe80::%re0/64      link#1             U           re0
fe80::6e62:6dff:fe link#1             UHS         lo0
fe80::%lo0/64      link#2             U           lo0
fe80::1%lo0        link#2             UHS         lo0
fe80::%tap0/64     link#5             U          tap0
fe80::2bd:6fff:fe3 link#5             UHS         lo0
ff02::/16          localhost          UGRS        lo0


what am i missing ?




You need to add an iroute in the client config.


Kind regards
Carsten Larsen

_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to