I am trying to pass openvpn traffic over ICMP tunnel...
[ done with normal UDP over ICMP tunnel...and its working.. ]
For that in client config i given remote open vpn server as 127.0.0.1 - 53
there in ( 127.0.0.1 - 53 ) my custom UDP server is running .
It s doing following
1> receiving each udp packet from openvpn client.
2> Extracts only udp payload from each packet (not UDP header ) and passing that in ICMP payload part.
3> in internet server I am capturing sent-ICMP packet and extracting the UDP data ( which is openvpn client udp data part).
4> Now I am making A single UDP socket connection to OPENVPN server and passing all the UDP payload part to openvpn server.
Now thing is ....as I am using a single socket in my BOX for passing all UDP packets to openvpn server received from multiple client pc..so SOURCE IP and SOURCE PORT will be same for all clients ( packets ) for openvpn server perspective.
Code: Select all
My Question is..Does open VPN consider Client SOURCE IP and SOURCE PORT to distinguish client or It does by other means like userid or session id etc.
this is some kind we can say of UDP port forwarderMy 2nd question is as I am carrying only UDP payload part from client machine ( not udp header ) means the UDP header generated by openvpn client will be altered when i will feed it to openvpn server from my ICMP program.
Question is when openvpn makes packet-hash something like that, does it include UDP header part too.....
as here in generated packet by openvpn client UDP destination port will be 53 and destserver will be 127.0.0.1
with proper srs ip src port
But when i feed this to openvpn server dest ip /port / src ip /port in UDP packet header will be changed ..Will OPENVPN give error saying bad packet...
Thanks for your time
pada