General :: PPTP Client - Vpn Will Automatically Disconnect

Jul 26, 2011

I installed Fedora Linux and I am using GNOME. I've created a vpn connection and is connected to the server without problem (Please see attached photos); But after being connected, Upon opening the site ,Vpn will automatically disconnect.

View 1 Replies


ADVERTISEMENT

Networking :: PPTP Client Fails To Connect To Microsoft ISA PPTP Server?

Sep 17, 2009

I'm trying to connect to a Microsoft ISA PPTP server from my Linux box. The box I'm connecting from is itself a router. I have no problem connecting a Windows XP machine to the VPN via this machine. This is fine, but I would rather connect via the Linux machine, giving me far more advanced routing options (i.e. no to send every packet from the XP box completely unnecessarily via the PPTP tunnel). The Linux router is running Debian Lenny.

I've checked iptables. There were initially some issues. I've fixed those.

Invoking pppd from the console, I can see that authentication succeeds, but then some negotiation goes wrong and the server terminates the connection. Here's the output from pppd, with the more sensitive stuff removed:

Code:
<hostname>:~# pppd call <peer> nodetach debug
using channel 19
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe3e45f75> <pcomp> <accomp>]
code....

View 1 Replies View Related

General :: F14 - OpenVPN Disconnect Automatically After Login

Jan 15, 2011

I'm using openvpn under linux OS which is Fedora Core 14, in the folder "/etc/openvpn" i put 5 files which belongs to the network server that I should connect to, files are :
two files with the extension ".crt"
two files with the extension ".key"
one file with the extension ".conf"

Now, when I issue the following command (as root) :
Code:
/etc/init.d/openvpn start
It asks for my username & password to the network server, & after I entered the required authentication information, I successfully login, but I get disconnected automatically after two or three seconds.

- I connect to the network without any disconnection or problems under windows
- I use openvpn version "openvpn-2.1.1-2.fc13.i686"
- there was a bug in my OS "Fedora core 14" which is that I cannot activate or deactivate any ethernet cards, which solved by disabling NetworkManager in all run levels
- I disabled iptables
- I disabled selinux
- I got this error in /var/log/messages file when I disconnect from the openvpn network "

Jan 15 21:45:15 ViRuS openvpn[4143]: script failed: could not execute external program
Jan 15 21:45:15 ViRuS openvpn[4143]: Exiting
Jan 15 21:45:15 ViRuS avahi-daemon[1494]: Withdrawing workstation service for tun0.

- I couldn't find the file called "/etc/openvpn/update-resolv-conf"

View 4 Replies View Related

General :: Creating Stable, Automatically Reconnecting PPTP Connection In Ubuntu

Aug 13, 2010

I've been using network-manager-pptp to create a PPTP VPN connection in my Ubuntu virtual machine for a while now, but I have constant problems with random disconnects. I don't know what the cause of the problem is, but I suspect that network-manager-pptp is not the most well-written piece of software around...

Is there another way of instantiating PPTP connections in a more robust manner? The same PPTP server works reasonably OK with Windows 7 (some disconnects, fewer than in Ubuntu, and Windows has an auto-reconnect feature).

I read some guides on using the pptp command, but they all seemed pretty low-level, messing around with ppp. I never found the time to figure out how it all was supposed to fit together. Has anyone accomplished what I'm trying and is willing to share the knowledge?

EDIT: Tried kvpnc, and it seems the stability is more or less the same as network-manager-pptp. The error message is "Modem hangup".

To clarify, I understand that the connection can go down, but I want to be able to reconnect automatically when disconnected.

View 1 Replies View Related

Ubuntu :: Disconnect OVPN Client From Console?

Jul 19, 2010

I noticed that if I bring up an openvpn client connection with the $openvpn client.ovpn command from console, I cannot get out of it.Even if I close the console it was started from it remains on.I tries a bunch of stuff, that all ultimately failed, and eventually rebooted.

View 1 Replies View Related

Ubuntu Servers :: Set Automatically Disconnect Inactive Jabber Clients?

Jun 21, 2010

I'm running a small ejabberd server on a LAN. Everything works fine out of the box except that when certain users disconnect they remain listed as online.
Specifically, Linux users who suspend their computers with their client still open are still listed as online. This is not the case for Windows or Mac clients.
I did some research and fount out that it has something to do with the TCP keepalive timeouts on the server. However I cannot figure out how to set those times.

View 1 Replies View Related

Networking :: Samba Client Shares Disconnect Over OpenVPN Connection

Jun 23, 2010

My network is barely functional. I'm running 2 linux servers connected by openvpn (tun) through routers on both sides. There are Windows clients (98 and XP) on both subnets. One server (ls3) acting as PDC for the domain. The Windows clients use the respective linux boxes as gateways. On the server side (ls3 which is both openvpn server and samba server), all the clients can read/write properly to shares on both sides. The problems are all on the client side. Share connections to the server side disconnect after a few moments.

Browsing on the client side windows machines is fine. I can see shares on the server side. Some server side files open and are readable, writable, other server side files will not open. Some samba logon scripts on the server side can be opened from the client side. Others open after a long wait to a blank file! Permissions on server side files are set to 777 for testing. If a file won't open or reads "blank", that doesn't change no matter how many times you try. A non-readable/writable file overwritten by a readable/writable one can be read and written to!

I can ping successfully from any client on either side to any other client by either ip address or workstation name. Firewalls on both side are set to forward tcp and udp traffic going to port 1194 to the respective gateway linux boxes. Iptables on both linux gateways are down for testing. I tried reversing the openvpn server/client roles with the same result; the same physical side of the network had the problem. On one of the windows 98 clients, I wiped out the networking configuration completely and rebuilt it from scratch. Same result.

One one of the windows xp clients, I tried to rejoin the domain. It went through successfully but the result was the same as above. The network was operating smoothly for several years until the client side dsl modem broke last week. It was replaced with a newer model and at the same time I migrated from a pptp connection to openvpn. How to resolve this, Is this something to do with openvpn? Is this a network hardware problem? Am I missing something in the port forwarding on the routers? My smb.conf files are ancient except I added interface tun0. I have never seen 2 files sitting next to each other in the same directory where one opens and the other doesn't!

I'm running Mandrake 9.2 on the client side and Mandriva 2008 on the server side. I have a Sonicwall firewall on the server side, a Westell 7500 on the client side. I note that during the modem install, the http port was opened to the linux box on the client side and the access log got huge over the weekend and I ran out of disk space until I closed it down and deleted the log. I tried a simple test while viewing /var/log/daemons/errors on the client side. From a windows workstation in the client subnet, I opened a dos window and tried to print a file located on the samba server on the openvpn server machine which I knew NOT to be problematic.

The file printed and there were no errors reported in the log. I repeated the test with a known problematic file. The file would not print. The errors log noted:
Authenticate/Decrypt packet error: packet HMAC authentication failed
I regenerated the static.key file on the server side and scp'd it to the client side and restarted both openvpn's. I checked for duplicate files named static.key on both sides. Same error.

View 1 Replies View Related

Networking :: Connecting PPTP Client On (Ubuntu)

Jun 29, 2011

I am trying to connect my pptp client Linux to a pptp Linux server using modem but no success. I can only tweak ppp linux side Observing the following log I found it�s due to MPPE Support configuration mismatch in pppd, pppd (linux client) is refusing to accept MPPE encryption.

pppd[24545]: pppd 2.4.5 started by root, uid 0
chat[24547]: abort on (NO CARRIER)
chat[24547]: abort on (NO DIALTONE)
chat[24547]: abort on (ERROR)
chat[24547]: abort on (NO ANSWER)
chat[24547]: abort on (BUSY)
[Code]....

View 1 Replies View Related

CentOS 5 Networking :: Can't Install Pptp Client

Sep 2, 2009

im centos 5.3 At first, I used pptp-1.7.2-3.rhel5.i386.rpm from [URL]. But it didn't appear any process of install without a warning about the key problem, and I can't use rpm -e to uninstall it, I just uninstall it from xwindow. Then, I download the pptp-1.7.2-3.tar.gz from [URL] After make and make install, it appeared a problem when i do # pptpsetup --create tunnelname --server xxx.xxx.xxx.xxx --username somebody --password sercet。It told me "./pptpsetup: couldn't find MPPE support in kernel."

But im centos 5.3,and uanme -a: Linux localhost.localdomain 2.6.18-128.el5 #1 SMP Wed Jan 21 10:44:23 EST 2009 i686 i686 i386 GNU/Linux The kernal is support MPPE, and I have reinstalled the ppp-2.4.4.2-el5.rf.i386.

View 5 Replies View Related

Ubuntu Networking :: No IPv6 In PPTP VPN Client Setup?

Feb 1, 2011

I'm trying to setup IPv6 in a PPTP client configuration on Maverick, but in network manager only IPv4 is available.

On LAN and WLAN IPv6 is working fine but I want to avoid when using a VPN all IPv6 connection are bypassing the VPN which compromises the VPN to a certain extent ..

View 6 Replies View Related

Networking :: Pptp Client - Unable To Browse Internet

Sep 24, 2010

i have installed Linux i.e ubuntu 10.04 on my PC in which i have installed pptp client and able to connect it successfully but problem is that it unable to browse internet. in windows it works fine.

View 1 Replies View Related

Networking :: Setup Pptp Client Idle Timeout

Jun 13, 2011

I have got pptpd linux server and pptp linux client which connects successfully. Now I want setup idle time (inactive) in pptp linux client so that if the pptp tunnel is inactive say for example 5 minutes it will be automatically disconnected. how can do that, is there any built in feature on pptp client?

View 1 Replies View Related

Networking :: PPTP VPN Connect Automatically (auto Dial Home)

Nov 25, 2008

I have servers in remote locations where I have no control over the network routers or firewalls. I need to have a VPN connection to my servers.Is there a way to create a PPTP VPN connection automatically? I don't want to initiate it, I just want it to phone home, and keep phoning home if the connection is dropped.

View 1 Replies View Related

Ubuntu Networking :: Pptp Vpn Client & Eth0 Loosing Ip After Pppoe Connects?

Oct 31, 2010

1st, i managed to make a VPN connection to my server and after a reboot i get this:I've tried everything that google gives me with "ubuntu vpn service failed to start pptp" search terms.2nd, I've got a DSL connection (PPPoE) to the internet. When i connect it, eth0 looses it's ipv4 ip (I've disabled ipv6). How can I keep it?

View 1 Replies View Related

Ubuntu Networking :: Using Network Manager PPTP Client While Accessing SSH / Apache From Public Internet

Oct 27, 2010

I've searched the forums (250 thread limit) for a fix on this, but all the questions seem unanswered or unrelated. My situation is this: I'm running Ubuntu x64 10.10 'Maverick'. I have a cablemodem connection for my Internet access. I have home network running on DD-WRT with the dreadful Linksys WRT54G series router.

My DD-WRT router is 192.168.1.1, subnet 255.255.255.0.
My Linux box is 192.168.1.61, subnet 255.255.255.0.

I have a VyprVPN connection set up successfully on Linux. Mostly everything works great, speed's fine, latency is what I expect it to be. Except... I also run an SSH server to remotely admin the box at port 22, an Apache server running over SSL at port 7001, and a Transmission web client at port 7002 (only secured by basic HTTP realms auth). All of these things worked before I got the VPN working, I'm of course using NAT at the DD-WRT router.

The endresult I am looking for, is to have the security and protection of the VPN (even if it's only perceived) for everything I do on this machine -- EXCEPT on Apache, the Transmission web panel, and the SSH server, which I want to access from the outside world. I have no firewalls running or configured, not even iptables, not even the SPI firewall on DD-WRT. All connections to the aforementioned services from the outside world timeout coming in to the Linux box. They all work from inside my home network (182.168.1.0/24). In case it's needed, he's my routing:

[Code]....

View 2 Replies View Related

Programming :: Timer In Socket Programming - Wait For X Sec After Read() And Then Disconnect The Client Connection

Mar 8, 2011

I have a server listening on incoming client connections. Once the client establishes SSL connection with the server, the server waits on read() from the client. Only Client can disconnect the connection. I want to have a timer in the server program to wait for x secs after read() and then disconnect the Client connection.

View 3 Replies View Related

Ubuntu Networking :: Cannot Connect To PPTP VPN (The Synchronous Pptp Option Is NOT Activated )?

Jan 7, 2011

I am trying to connect to a PPTP VPN at work, and I cannot accomplish that. Both server and client are using Ubuntu 10.10.

Code:
Jan 7 11:32:26 multicore-dev03 NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...

[code]....

View 9 Replies View Related

Networking :: Make PPTP Routing / Specify An Expired Date For Each Pptp User?

Mar 13, 2010

i have a VPN server PPTPD on Centos 5.3

eth0: 62.2.2.x (public on the internet)
GW: 62.2.2.1 (cisco router)

i want to configure my ppptp server to allow users access internet with their own public ips of class 62.2.3.0 62.2.4.0 62.2.5.0

every time i configure my server all users can get thier IPs but they only go out with my server IP same as NAT not routing.

can you show me the proper configuration to make my users connect with public IP and have internet access. use specific DNS ( i did this but some users can not brows by DNS)

is there any way to specify an expired date for each pptp user.

View 1 Replies View Related

Debian :: Install Citrix Client Automatically?

Mar 1, 2011

Howto install citrix client from:

[URL]

automatically, without asking for anything?

If I try:

Code:
# dpkg -i icaclient_11.100_i386.patched.deb
then I get a window with the LICENSE AGREEMENT.

View 4 Replies View Related

Fedora Servers :: BIND Detect Client Machine Name Automatically?

Aug 10, 2009

When DNS server is configured on Windows server, it will automatically detect and catch computer names and IP address. With Linux (BIND), I have to enter each clients manual under zone file. example (computer1 IN A 10.10.1.4). is there anyway to make Linux detect client automatically as windows does?

View 6 Replies View Related

OpenSUSE :: Allow Evolution Email Client To Automatically Unlock Default Keyring?

May 10, 2010

So I've tried finding a solution to this on my own for the past few days (believing it is a simple solution), but for the life of me I can't figure it out. I'm running 11.2 and I have Evolution as a start-up program and I have finally got my wireless working, so it connects automatically at start-up also. I figured out how to have network manager automatically unlock the default keyring, but...

Each time evolution starts up I am prompted to unlock the default keyring. How can I give Evolution permission / access to the default keyring automatically so it can check me email upon start-up without me having to type in my password?

View 1 Replies View Related

Software :: Cafe Con Leche Client / Does Not Connect To Server To Show The Timer Automatically?

Jun 2, 2010

i have a problem with one of my PCs which refuses to run the CCLc timer on its screen, i have tried to run the application so many times but every time i run it it does not connect to the server to show the timer automatically as the other PCs do,therefore the client cannot know how much he/she is supposed to pay.this forces us to manually time the clients that are using that PCs.

View 1 Replies View Related

General :: How To Auto-disconnect And Connect

Jan 19, 2010

I am checking something out in my connection and I just wanted to ask, is there a way to auto-disconnect and connect from the internet.For example say I want to disconnect now and reconnect to the internet in 0.05 seconds, is there any program that does that on Fedora Linux?

View 1 Replies View Related

Ubuntu Servers :: Make Dovecot Automatically Archive The Copy Of The Email If/when A Client Connects To It Using POP?

Feb 15, 2010

make Dovecot automatically archive the servers copy of the email if/when a client connects to it using POP? I am trying to achieve the the same thing as Gmail's feature.

View 1 Replies View Related

General :: Disconnect Process From System Console?

May 9, 2011

I have a long-running process that was started in bash terminal on Debian. Unfortunately it wasn't started inside screen.
Is there a way to disconnect this process from current console and connect to it from screen?

View 1 Replies View Related

General :: How To Truncate File And Disconnect Session

Oct 7, 2010

I have two questions :

1) Is it possible to truncate the file content , not to drop the file ? i.e, I want to just delete a file's content only, not to drop the file .

2) I can find the connectd user using command 'w' or 'who' . Now How can I force disconnect a session from the list of 'w'/'who' command ?

View 1 Replies View Related

General :: After Some Logins 11.04 Started Disconnect From Internet

Apr 30, 2011

i have installed ubuntu 11.04 linux by wubi (windows 7 ultimate is the other operating system). after some logins it started disconnect from internet.

View 11 Replies View Related

General :: Ssh Sessions In Xterms Freeze For Many Minutes Whenever They Disconnect?

Jun 2, 2010

If I ssh to a remote machine and then lose internet connectivity, the session freezes. I can't control-c or otherwise abort and go back to my local xterm or terminal prompt but if I wait several minutes it will do so.
There must be some way to force it to abort the remote ssh session when connectivity is lost. I'm on a Mac but I believe this happens on cygwin or linux as well.

View 2 Replies View Related

General :: SSH Tunnel Commands To List Active/disconnect?

Apr 1, 2010

I've just started experimenting with SSH tunnels. I wanted a way to connect to MySQL on our website VPS but wanted the connection encrypted rather than just using PHP's mysql_connect() function and connecting to the remote IP. This seems to be working great. I'm also looking into autossh to make sure that the tunnel gets reconnected when it drops.is there a command/utility that can list the currently active SSH tunnels? Be great if there was a way of terminating an active tunnel through a command as well. Or is it a case of manually digging through the process list and killing the specific PID like I have been?

View 1 Replies View Related

General :: Slackware 13 Automatically Lock - Ktorrent Start Automatically?

Jan 25, 2010

what to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved