softether-go/pkg
Git Sagar 51824b830e netcfg: add -connmark flag for DNAT reply routing
When VPN traffic is DNAT'd to local namespaces/VMs, reply packets have
a different source IP (namespace veth) so the policy route's
"from <VPN_IP>" rule doesn't match. CONNMARK marks all connections
arriving on the VPN interface and restores the mark on reply packets,
routing them back through the tunnel via fwmark rule.

New flag: -connmark (requires -policy-route-table)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-07 01:06:17 +05:30
..
client tunnel: replace write mutex with channel-based single writer 2026-06-06 23:16:27 +05:30
dhcp dhcp: generate fresh xid per exchange 2026-06-06 22:58:00 +05:30
netcfg netcfg: add -connmark flag for DNAT reply routing 2026-06-07 01:06:17 +05:30
protocol initial commit: standalone SoftEther VPN client in Go 2026-06-06 16:13:51 +05:30
tap refactor: extract session/netcfg/tunnel, add mac/dhcp/policy-route flags 2026-06-06 16:43:12 +05:30