Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Ray on June 20, 2001, 10:19:57 AM
-
Hi all,
I have a Cable modem plugged into my E-smith server's public interface: Dynamic IP.. 24.120.192.22
I have a second nic in it for the lan.: 10.0.0.1
I have a pc running pcanywhere 9 on ,my lan : 10.0.0.46
i can access the internet from inside the lan.
I can access my website and ftp server from anywhere on the internet.
How can I connect to my pcanywhere machine from anywhere on the internet? (i.e. I want to remote control into my office pc and from a client who has dsl and pcanywhere on his system)
I tried these commands:
/sbin/e-smith/db configuration setprop masq TCPForwards 5631,10.0.0.46
/sbin/e-smith/db configuration setprop masq UDPForwards 5632,10.0.0.46
/sbin/e-smith/signal-event remoteaccess-update
I have PCanywhere host loaded on my office pc, but when i launch pcanywhere on a remote site, using 24.120.192.22 as the address, i get a connection timeout...
any suggestions?
am i attacking this problem correctly?
also, if ican get this to work, i want to try to get a udp port open so that i can redirect ip-tunneling to my netware server.......
such big dreams in such a small space, with so much information.........
-Ray
-
Hi,
don“t have e-smith running as gateway (only intranetserver), but Portforwarding is the same...
I have a little script like the following:
/usr/sbin/ipmasqadm portfw -a -P tcp -L $ip 5631 -R 192.168.0.206 5631
/usr/sbin/ipmasqadm portfw -a -P udp -L $ip 5631 -R 192.168.0.206 5631
/usr/sbin/ipmasqadm portfw -a -P tcp -L $ip 5632 -R 192.168.0.206 5632
/usr/sbin/ipmasqadm portfw -a -P udp -L $ip 5632 -R 192.168.0.206 5632
where $ip is my external ip from the isp. It forwards the connection to pcanywhere from the gateway the my office pc (192.168.0.206)
should work on e-smith too.
greetings
tobi
-
I followed the command lines that you used, but that didn't do it.
How do i turn the gateway off? Why do i have to ? What will it effect, will i still be able to access the net from inside my lan?
TIA
-Ray
-
Why don't you try vpn ??
If your client connect e-smith server with vpn, you can connect your machin with pcanywhere.
And you don't have to put rules to your firewall
See you soon