2 internet connections

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

2 internet connections

Postby TFTomSun » Sep 28 05 8:18 pm

hello,
is it possible to use 2 internet connections with the Wingate !Server! ? I want to use for example the first internet connection for a FTP Server and the second internet connection for a HTTP Server. (Both on the Wingate Server Machine).
Second question, is it possible to use 2 internet connections over NAT with specified ports for each connection. So that i could say for port 21 incoming and outgoing connections use Internet Connection 1 and for port 80 use Internet connection 2?

I have several possibilities of configuration:
a)
-1 Networkcard
-1 PPPoE DSL Connections
-1 Hardware Router in the LAN of the Networkcard
b)
-1 Networkcard
-2 PPPoE DSL Connections (seems to make problems)
c)
-2 Networkcards
-First PPPoE DSL Connection at the first, second PPPoE DSL Connection at the second networkcard
d)
-2 Networkcards
-Hardware Router at the LAN Networkcard
-PPPoE DSL Connection at the other Networkcard


thank you, TFTS
TFTomSun
 
Posts: 27
Joined: Sep 28 05 8:07 pm

Postby TFTomSun » Sep 29 05 2:30 am

nobody here who can help me?
would it help if i would install 3 Networkcards in my Wingate Server. So i would have the first card for LAN, the first dsl modem would be connected to the second Networkcard and the second dsl modem would be connected to the third Networkcard.

greez, TFTS
TFTomSun
 
Posts: 27
Joined: Sep 28 05 8:07 pm

Postby TFTomSun » Sep 29 05 10:31 am

hello,
i've solved the problem by myself.

1) To Use 2 Internet Connections on the Wingate Server PC:
all you need is sockscap (freeware) and wingate.
a)
- In SocksCap:
- you must set SocksServerIP to 127.0.0.1 port 1080
- insert (in Sockscap) the programs you wish to use one specified or both internet connections.

b)
- In Wingate:
- Go to your Socks Proxy Server Settings
- choose the Gateway one or more Gateways you want to use (if you want to run a Server Application i think it wouldn't work with Gateway Rotation, but i'm not sure... i didn't test it until now)
- if you want to run a server on your Wingate Server PC you must add TCP and/or UDP Mappings, depending on the Server you want to run
- for example: i tested it with a Counterstrike 1.6 Server ... it listens on UDP Port 27018
-> i've entered Service Port 27018, Enable Default Mapping To 127.0.0.1 27018
- make sure, that your server is listen on Loopback (127.0.0.1)

c) Start the Application:
-you can start the application by double clicking the app entry in sockscap
-or you can create a link on desktop by draging the application icon from sockscap to your desktop
-see settings from this new link ... its linked with the sockscap application with a command argument "your application name in sockscap"

2) To Use 2 Internet Connections on a Client PC (behind a Wingate Server PC)
all you need is sockscap (freeware) and wingate.
a)
- In SocksCap:
- you must set SocksServerIP to the Wingate Server IP (example: 192.168.0.1) port 1080
- insert (in Sockscap) the programs you wish to use one specified or both internet connections.

b)
- In Wingate:
- Go to your Socks Proxy Server Settings
- choose the Gateway one or more Gateways you want to use (if you want to run a Server Application i think it wouldn't work with Gateway Rotation, but i'm not sure... i didn't test it until now)
- if you want to run a server on your Client PC you must add TCP and/or UDP Mappings, depending on the Server you want to run
- for example: i tested it with a Counterstrike 1.6 Server ... it listens on UDP Port 27018
-> i've entered Service Port 27018, Enable Default Mapping To the IP of your Client PC (example 192.168.0.2) port 27018

c) Start the Application:
-you can start the application by double clicking the app entry in sockscap
-or you can create a link on desktop by draging the application icon from sockscap to your desktop
-see settings from this new link ... its linked with the sockscap application with a command argument "your application name in sockscap"

You can add as many socks proxies you want ... just set another port number and choose the connections you want to use


@Wingate team ... if this posting is helpful, feel free to add it to the FAQ

last but not least ... sorry for my bad english ... i'm german

greez, TFTS
TFTomSun
 
Posts: 27
Joined: Sep 28 05 8:07 pm

Postby TFTomSun » Sep 29 05 12:18 pm

there seems to be some problems with the counterstrike server. if i want to connect on it i get the message "Steam Ticket has expired". When i was using NAT for the Counterstrike Server, i didn't have this problem. Has anybody an idea, what the reason could be?

greez, TFTS
TFTomSun
 
Posts: 27
Joined: Sep 28 05 8:07 pm

Postby TFTomSun » Sep 29 05 2:13 pm

i found out, that the reason could be a problem with the IPs. What is the difference between NAT / SOCKS or if i directly connected with a DSL Modem (PPPoE Connection) if somebody from the internet will see on my server? Is there a difference? If there is a difference, is there a possiblity to masquerade my ip address like NAT do?
I can bind the CS Server always on my LAN IP (192.168.0.1)! ... with SOCKS too...

I dont have this problem if i start the server without using the SOCKS Proxy Server. So the server is directly connected to one DSL Modem. But only one incoming UDP port (the same port i mapped to my server while using SOCKS -> 27018) is available from the internet. All other connection from internet to LAN are blocked by a firewall

thank you, TFTS
TFTomSun
 
Posts: 27
Joined: Sep 28 05 8:07 pm

Postby TFTomSun » Sep 30 05 3:10 am

has anybody an idea, or can somebody explain me the difference between NAT and SOCKS Proxy in the IP Header ...
TFTomSun
 
Posts: 27
Joined: Sep 28 05 8:07 pm

Postby takusa100 » Sep 30 05 3:23 am

thanks for your sharing !!
takusa100
 
Posts: 47
Joined: Sep 29 05 9:55 pm
Location: NC China motherland


Return to WinGate

Who is online

Users browsing this forum: Google [Bot] and 4 guests

cron