Forum for all technical support and trouble shooting of the WinGate VPN.
Sep 13 11 3:47 pm
I installed wingate on my home computer to test and i need redirect outgoint connection.
I need that all connection to one port, go to other ip.
I dont know why, but redirect dont run here..
I create one rule on extended networking, port security, local computer to internet, port 1 to 65500 ( i use all port to try )
in action i choose drop and redirect ( i choose drop to try too )
I save and try connect via browser to one site.. all site open.
I try ping to tools runing on other ports on others servers.. all are connection.
If if create one ip backhole the site is blocked but when i try create one redirect or block via port security, i cant..
Someone can helpme ?
Sorry my english.. i´m from Brasil
Sep 13 11 5:16 pm
are you running WinGate, or WinGate VPN (this is the WinGate VPN forum)?
WinGate VPN doesn't do NAT, which is required for port redirection. WinGate should do it fine though.
Are you redirecting to a remote IP (public IP on internet), or some other IP on your local network or WAN? If the latter, the machine you redirect to may require routing setup for the packets to go back through WinGate.
Sep 14 11 1:15 am
at this moment i have installed wingate vpn, but i already installed wingate and i cant do this too.
Look my problem :
I have one server with public IP ( example 18.104.22.168 )
This ip will be change to other ip ( example 22.214.171.124 )
O this server have some applications compiled pointed to database server using 126.96.36.199
Then after changed ip, i need intercepct all software that try to connect on 188.8.131.52 and redirect to my new ip 184.108.40.206
if i open a connection to 220.127.116.11 from my server 18.104.22.168 i want that wingate redirect to other ip.. the connection ton 200.175.54 cant reach the destination because this ip will be a new server ( not my server ) ...
Sep 14 11 1:49 am
so the client software is on the same computer as WinGate? Currently you can't redirect those connections, only NAT connections via WinGate.
You could run the software on another computer behind WinGate.
Have you considered patching the executable and changing the IP address that is hard coded in the binary. It might be easier than you might think.
Sep 14 11 2:47 am
have +- 200 apps with ip hardcorded and i dont know how can i do this..
area asp.net apps.. compiled..
have any sugestion ?
Sep 14 11 7:01 pm
ok, one suggestion I have.
If you use WinGate 7, and use the WinGate client on the computer running the apps, then you can use WinGate 7 policy to override destination IP for connections made by client applications.
So you could say have a policy that said any connection to a.b.c.d get connected instead to e.f.g.h
The WinGate server would need to be a different computer to the computer running the apps, and the WinGate client software only runs on windows prior to windows vista.
We could look at doing a similar thing for SOCKS as well, which would mean you could use any supported SOCKS-ifying application.
Sep 14 11 7:05 pm
Actually looks like Session.ServerIp is already writable from within SOCKS server events, so you could change it based on the current value.
Powered by phpBB © phpBB Group.
phpBB Mobile / SEO by Artodia.