Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We want to route all traffic from one pc to a local virtual device (TAP-Win32 Adapter which is also used by OpenVPN) and then from there to another tap device on a public server. after that all packets need to be processed from the server and responces should be sent back to their own clients by writing them on server's tap device.

Our problem is mainly with the part packets have to be sent to their destinations from the server. So far, we know two solutions for that, tunneling and bridging connections. apparently tunneling requires packetizing TCP streams which can get quite complex, however, since we're not planning to modify packets (just routing them) we thought bridging tap device on the server with its ethernet interface is a better and simpler solution. after trying ethernet bridging, we figured that the bridge connection uses IPv6 and not IPv4 and it didn't have any internet access (perhaps we did it wrong). now we're kinda confused!

First, I'd be glad if someone can give us some clue on how to solve this problem with bridging. also I'd be grateful if you can guide us with our main objective (simply routing all traffic from multiple clients via a single server with public ip) even if it requires tunneling. by the way, we use windows on each side.

share|improve this question

migrated from stackoverflow.com Jan 16 '12 at 10:37

This question came from our site for professional and enthusiast programmers.

    
any reason you don't use a proxy ? –  Yahia Jan 13 '12 at 20:58
    
@Yahia - What kind of proxy could he use to capture all variations or protocols and ports? –  M.Babcock Jan 13 '12 at 21:07
    
you did only ask about TCP... and there are TCP proxies out there... –  Yahia Jan 13 '12 at 21:08
    
@Yahia - It's not my question. It sounds like mmbrian is trying to put together a "poor-mans" VPN and I just don't see how a TCP proxy would help. –  M.Babcock Jan 13 '12 at 21:15
    
@Yahia - It is a programming question if he is trying to develop software that does it (which it sounds like he is). Otherwise I'd agree with you. –  M.Babcock Jan 13 '12 at 21:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.