LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   VPN conectivity headache (https://www.linuxquestions.org/questions/linux-networking-3/vpn-conectivity-headache-267882/)

jdlcomputers 12-18-2004 09:04 PM

VPN conectivity headache
 
Hi Folks,
I am a rather nebie:newbie: to linex so please don't assume I know the commans you may reply to me.

Here is the senerio... We have a client who owns a junkyard, he also has a yard about a mile away. at the main building, he has a Linux box with Redhat on it (not sure of version but is only about 3 months old) he runs a program on it called Fastparts. From the same building he has a Win XP machine which has Procom installed on it, and we can telnet the linux box to log into the fastparts program (lixux box address is 192.168.1.99) We have a VPN router 192.168.1.20 at the main building (SMC Barracade SMCBR14VPN). OK, now at the remote site, we also have VPN Router (SMC Barracade SMCBR14VPN) with the address of 192.168.2.20 and a Windows 98 machine connected to that with an address of 192.168.2.10 from the Win98 machine, we can ping the main site router, the main site windows XP machine and can log into main site router, however we get no reply fomr the linux box when we try to ping it. (and no I cannot ping the Win98 machine form the Linux Box either) Hence we cannot telnet to it to use the Fastparts program. the company that owns the Fastparts equipment have really been little help as the have asked me what I suggest. Unfortuanatlly I have done far more Windows networking than with linux and really need some help from you "Experts" so I can rectify this problem. Any help would be greatly appreciated.. Please be as specific as you can with answer posts.. A big thanks :study:

amfoster 12-19-2004 06:55 AM

I would check into poptop (pptpd) as it is a vpn that works great with Windoze machines.

jdlcomputers 12-19-2004 08:51 AM

Thanks, but I do not need a VPN, we hava 2 VPN's in place already between the two locations. I just can get the linux box to communicate either way accross the VPN. My feeling is that it is somethign in the linux box blocking it out but I dont know what to look for as I stated earlier, I am a newbie to linux..

amfoster 12-19-2004 11:03 AM

issue iptables -L and look for any rules on the box. By default, when installed, certain ports are blocked. The next issue, is that even without a firewall, telnet will be off by default, as ssh is the way to go. If you want telnet on, the easiest way would be to (since it is a redhat box) issue ntsysv and toggle down to telnet. Hit space to mark telnet as usable, then issue /etc/init.d/xinetd restart.

If Xwindows is on, you can type serviceconf and that is a gui version.

If ya want to do it from scratch, cd /etc/xinetd.d directory, edit the file named telnet and change the line that says disable = yes to no. odr simply comment out the line that says disable = yes. Thjen make sure you restart the /etc/xinetd daemon.

I would suggest using ssh rather than telnet though. D/L putty for the windoze machine. SSH is on by default on Linux machines (redhat)

Good luck.

jdlcomputers 12-19-2004 05:44 PM

I will check the tables tomorrow, Telnet must be turned on because we can telnet from a machine that is in the same building, just can't reach teh linux box from a machine on the other end of the VPN's.. SEe one thing I didn't mention is that I did not set up the linux, it came directly from the company that has the "Fastparts software" so I don't really know the full setup of it.

jdlcomputers 01-01-2005 01:52 PM

Problem solved
 
Just to update on this problem, found out the "Fastparts" people really have no clue.. I had to add the route IP for the remote with the following route add -net 192.168.2.0 gw 192.168.1.20

This solved the problem, and we can now connect..

Thanks :D


All times are GMT -5. The time now is 02:02 PM.