how can i use VPN in my socket application

I want to know how can i use VPN (Virtual Private Network)
in my application for connecting a remote LAN client.

i am explaning situation bt following figure:

---- ------ --- ---
|Machine A| --- >> |internet(WAN)| ---->> |Server|-- >|M/C B|
---- ------ --- ---
^--------^

(LAN)

machine A is not in a LAN, it is connected to internet with static IP. while B is in a LAN, behind a Server . and this server having public IP Address. B is not directly accessible , we can access it only through server. my one application is running on B and can connect to A when a connection request is made. My another apllication is running on A.

has a static IP, while machine B is not publicly visible outside world. but we know IP address of server,and of machine A and machine B. and also port no on B and A.

problem is that when i send a connect request to B from A, via Server
then connection is not established.

If we try to establish a connection from B to A then it succeded,
while from A to B it will not.

If somebody know then please reply.
Regards
Harish.
[1455 byte] By [harish_dixit1] at [2007-11-19 17:48:06]
# 1 Re: how can i use VPN in my socket application
What is your firewall/(s) doing?

Check your firewall.

Even XP Firewall can shut your app down.

VPN is just network tunneling. Sounds like you may have a different kind of problem than you think. :wave:

HTH,

ahoodin
ahoodin at 2007-11-9 13:51:55 >
# 2 Re: how can i use VPN in my socket application
What is your firewall/(s) doing?

Check your firewall.

Even XP Firewall can shut your app down.

VPN is just network tunneling. Sounds like you may have a different kind of problem than you think. :wave:

HTH,

ahoodin

Thanks ahoodin
the problem is not with firewall.
problem is that i found one solution VPN.
i want to know how can i established a VPN connection from my
application code?
harish_dixit1 at 2007-11-9 13:53:06 >