Bitcoin Forum
May 02, 2024, 11:46:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [QST] How can i use openvpn to obfuscate my miners  (Read 365 times)
GProject (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
July 09, 2017, 10:16:45 AM
 #1

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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!