updated server configs

This commit is contained in:
Luxferre
2026-07-26 10:13:48 +03:00
parent 8956f8fd19
commit fb5cbc7917
2 changed files with 28 additions and 6 deletions
+24 -1
View File
@@ -56,6 +56,7 @@ EOF
cat <<EOF > /vpn/server.conf
dev tun
topology subnet
proto tcp-server
ca /vpn/ca.crt
cert /vpn/server.crt
key /vpn/server.key
@@ -91,11 +92,33 @@ tun-mtu 1300
mssfix 1200
# Native OpenVPN routes to bypass GSocket relay nodes via physical default gateway
route j.gs.thc.org 255.255.255.255 net_gateway
route gs.thc.org 255.255.255.255 net_gateway
route a.gs.thc.org 255.255.255.255 net_gateway
route b.gs.thc.org 255.255.255.255 net_gateway
route c.gs.thc.org 255.255.255.255 net_gateway
route d.gs.thc.org 255.255.255.255 net_gateway
route e.gs.thc.org 255.255.255.255 net_gateway
route f.gs.thc.org 255.255.255.255 net_gateway
route g.gs.thc.org 255.255.255.255 net_gateway
route h.gs.thc.org 255.255.255.255 net_gateway
route i.gs.thc.org 255.255.255.255 net_gateway
route j.gs.thc.org 255.255.255.255 net_gateway
route k.gs.thc.org 255.255.255.255 net_gateway
route l.gs.thc.org 255.255.255.255 net_gateway
route m.gs.thc.org 255.255.255.255 net_gateway
route n.gs.thc.org 255.255.255.255 net_gateway
route o.gs.thc.org 255.255.255.255 net_gateway
route p.gs.thc.org 255.255.255.255 net_gateway
route q.gs.thc.org 255.255.255.255 net_gateway
route r.gs.thc.org 255.255.255.255 net_gateway
route s.gs.thc.org 255.255.255.255 net_gateway
route t.gs.thc.org 255.255.255.255 net_gateway
route u.gs.thc.org 255.255.255.255 net_gateway
route v.gs.thc.org 255.255.255.255 net_gateway
route w.gs.thc.org 255.255.255.255 net_gateway
route x.gs.thc.org 255.255.255.255 net_gateway
route y.gs.thc.org 255.255.255.255 net_gateway
route z.gs.thc.org 255.255.255.255 net_gateway
<ca>
$(cat /vpn/ca.crt)