Excuse the (late) top post. 1 MTNL provides a static ip. U have to fax them a request for static ip. Rs.1000/- p.a. 2 Dlink dsl502T has advanced - virtual server settings to allow incoming / outbound connections
As stated by Saswata dyndns is workable but not completely reliable imo. Better to take the static ip.
I have a number of services running smoothly at clients. Make sure u have suitable security.
On Thursday 09 February 2006 9:37 am, Saswata Banerjee & Associates wrote:
Abhishek Daga wrote:
--- Manish Kathuria manish@tuxspace.com wrote:
Abhishek Daga wrote:
Hello folks, wondering if anyone has tried this and has worked for them? > > Need someone from the outside (remote location) to access a *nix machine
here.
Setup is:
MTNL Triband (no static IP assigned to me.). Using Dlink DSL 502 router. LAN IP being 192.168.1.1. WAN IP is what the outsider would use to get in. Connected to Netgear Router. (WAN IP = 192.168.1.2, LAN IP = 192.168.0.1). Machines are connected to this netgear router as 192.168.0.X)
Earlier when I had Tataindicom broadband with a static IP, the only
configuration > > was required at the netgear router level where i did port
forwarding of the > > service to the desired machine.
The TATA router had a different interface and a bridge was enabled there. I do not see a similar option here with mtnl.
I tried to allow under advanced--filters, inbound access to the router IP (192.168.1.2) since this is the one connected to the mtnl dsl router.
It says ssh_exchange_identification: Connection closed by host. Telneting to same IP gets me to the mtnl router (linux box) with no worries.
Is it possible to ssh to any machine of mine with the current setup?
thanks! -abhi
Hi Abhisekh, I saw this thread very late, but still my inputs may be of help. We have a similar requirement at one of my client's office where the remote office wants the ability to access local server in the Mumbai office to take some files in an emergency after close of office hours.
What we have done is as below. MTNL Triband does not provide a static ip, but a public ip is given each time you connect. We have used dynedns to link the dynamic ip provided by MTNL to a static ip which dyndns has given. Each time the computer connects, it updates the records on dyndns so that the remote office can connect through that url. I think there is a cron job that automatically communicates the updates to the dyndns ip address whenever the sytem connects to mtnl. (I will need to check how that happens, I didnt bother about it earlier).
That may be the easiest way out of the trouble for you. We checked it out and it works without problem.
The set up was done for me by Rajeev R K, who is also on ILUG and you can ask him if you get stuck.
Regards Saswata
There are two ways you can do this.
- Connect the MTNL DSL Router to a LAN port of your Netgear
Wireless Router. The Netgear Wireless Router will work as an Access Point. Your internal network would be 192.168.1.0/24 and the gateway would be 192.168.1.1 (i.e. the DLink Router). Now enable port forwarding for Port 22 from the DLink Router to the system you want to access through SSH.
- Alternatively, you can configure your DLink Router to work in
Bridge Mode. You can then connect the LAN interface of th DLink Router to the WAN Interface of the NetGear router. The NetGear Wireless router has PPPOE Dialer, configure it using the username and password provided by MTNL. Then enable Port Forwarding for Port 22 from the NetGear Wireless Router to the system you want to connect through SSH. Your existing network setup will remain unchanged.
Either of the methods should work. Let me know if you need more information.
--
Hi Manish, I tried #2 and it worked! well partially, but thanks anyways. So I could setup a bridge connection and via the PPPOE dialer of netgear router, get it all up and running. When I ssh into the public IP that triband alloted me, I can get through. It is slow though. However, when I log on to a remote server and try accessing the same public IP there is no response from the system. Ping works fine. The netgear router does have port forwarding enabled properly.
-abhishek
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com