Bitcoin Forum
May 05, 2024, 11:50:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Split tunnel VPN on windows  (Read 2011 times)
P4man (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
April 21, 2012, 12:16:13 PM
 #1

I need some help with this.

Situation: some miner rigs running cgminer on windows are behind a firewall that cant be controlled. I need to access the API remotely, so get around the firewall. VPN seems like the obvious solution, however I dont want the getworks and longpolling etc to go over the VPN, only the API traffic.

From what I gather, this requires a split tunnel. This seems to be relatively straight forward to configure on linux, but does anyone have a clue how to do this with on windows? Im looking at OpenVPN but the documentation is a bit ... overwhelming and I dont see anything like what Id need.

Other suggestions besides VPN are welcome too. On linux Id try SSH reverse portforwarding, and in theory Putty should enable that on windows too, but I cant seem to make it work.

1714953009
Hero Member
*
Offline Offline

Posts: 1714953009

View Profile Personal Message (Offline)

Ignore
1714953009
Reply with quote  #2

1714953009
Report to moderator
1714953009
Hero Member
*
Offline Offline

Posts: 1714953009

View Profile Personal Message (Offline)

Ignore
1714953009
Reply with quote  #2

1714953009
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714953009
Hero Member
*
Offline Offline

Posts: 1714953009

View Profile Personal Message (Offline)

Ignore
1714953009
Reply with quote  #2

1714953009
Report to moderator
Soros Shorts
Donator
Legendary
*
Offline Offline

Activity: 1617
Merit: 1011



View Profile
April 29, 2012, 03:05:30 AM
 #2

I assume the miners are running OpenVPN in client mode and connecting to your OpenVPN server located somewhere outside the firewall?

If that is the case, the traffic that the client sends to through the tunnel is contolled by the static routes that your OpenVPN server pushes to the client. This is configured in the server's config.ovpn file. Push only the static routes back to your private subnet. As long as you do not push the route to 0.0.0.0, you will have your split tunnel.
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!