Author

Topic: [QST] How can i use openvpn to obfuscate my miners (Read 388 times)

newbie
Activity: 1
Merit: 0
Hi,

I have some computers in a private network [ 172.18.10.0 ]

I administrate the gateway 'stargate'  [eth1 172.18.10.100] [eth0 Internet ] and [tun0 10.8.0.2 VPN]

i added a route on the gateway: 10.8.0.0 gw 10.8.0.1 (distant VPN on a VPS) so the clients on the private network can access 10.8.0.1 .



I put tun0 MASQUERADING on 'stargate'
and eth0 MASQUERADING on the VPS

What i want is

[PRIVATE] --- [eth1 stargate tun0 ] -----[ tun0 VPS eth0 ] ------- [internet]

only on some ports.

My problem is how to manage to force miners to use only the VPN as a gateway  for certain ports.

I tried with iptables snat but nothing on the tun0 interface of the VPS with tcpdump.

Thanks for the help
Jump to: