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
ADVERTISEMENT
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
May 5, 2011
Using my laptop, I'm trying to get onto the local library's wireless network, with zero results so far.Basically, I can see the network, but when NetworkManager tries to connect it just spins for a few minutes and then rejects the connection. (Or the connection is rejected by the router) My wireless connection works fine when connecting to my WPA home network.
View 4 Replies
View Related
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
Mar 12, 2010
i can't install network-manager-pptp package with offline.i get this package from Code:http://packages.ubuntu.com/karmic/i386/network-manager-pptp/downloadJust now i use ubuntu9.10.
View 3 Replies
View Related
Mar 24, 2010
I followed (or at least tried to follow) tutorials on doing this. I installed network-manager-pptp and tried to configure network manager to connect to a VPN. In the settings when I select MPPE with 128-bit encryption, after I've selected it and applied it, I check the settings and it's invariably unchecked. I tried using KVpnc after getting frustrated with network manager, and I can't seem to get that working either. I've been trying to search for info on this, and I can't seem to find anything on why I can't select MPPE with 128-bit encryption. That seems like it might be why I'm unable to connect to the VPN?
View 1 Replies
View Related
Jan 13, 2010
I currently managed it to get a pptp-connect to my home network. now I have another little problem. NetworkManager always routes the whole network traffic over my home network if i am connected to the home network.If i set the "Use this connection only for resources on its network" I have do manually say:
Code:
route add -net 192.168.1.0 netmask 255.255.255.0 dev ppp0
After that only the correct traffic runs over the vpn. Now my question is it possible to setup the route via the networkmanager gui?
View 3 Replies
View Related
Jul 27, 2010
I have ~20 log entries/second in syslog
Code:
nm-pptp-service-1078 log[decaps_gre:pptp_gre.c:414]: buffering packet 57467 (expecting 57429, lost or reordered)
[code]....
View 1 Replies
View Related
Feb 25, 2010
I have updated the system this morning and the vpn stopped working!It gives me an error: invalid secrets.I use network manager to connect to a pptp vpn connection, I use fedora 12.Does anyone know the problem?
View 2 Replies
View Related
Sep 15, 2010
I successfully installed openvpn and networkmanager openvpn plugin. Then I successfully added a PPTP vpn connection by networkmanager vpn tab which name is "vpn1". But now I don't know how to connect to this PPTP vpn connection. I tried bellow command but no luck.
openvpn --config vpn1.config
View 3 Replies
View Related
Dec 1, 2009
I can not stablish PPTP VPN because SELinux blocking Network Manager.
I get the following:
Summary: SELinux is preventing NetworkManager (NetworkManager_t) "unlink" to ./reso
Code:
I'm attaching complete alert.
View 1 Replies
View Related
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
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
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
Mar 15, 2010
since installing opensuse 11.2 KDE, is that I can connect to the local resources when I'm not connected via the pptp vpn to the Internet but as soon as I establish an Internet connection, I cannot. Under Windows and other distros I've tried, this has never been an issue, usually I can connect to either local or Internet resources, interchangeably. In a nutshell, I don't know how to troubleshoot this.
View 9 Replies
View Related
Jul 17, 2011
I have ovpn configuration files for Windows from SwitchVPN. They do not provide configuration files for GNU/Linux. They said I can extract the certificate and key files from the ovpn files, but I'm confused about how to do that.First of all, I don't know which Authentication Type to choose: "Certificates (TLS)," "Password," "Password with Certificates (TLS)" or "Static Key."
Second, I don't know what to put where from the ovpn file. I see a <ca> � </ca> section and a <tls-auth> </tls-auth> section, but I don't see how those correspond to any of the Authentication Types. "Certificates (TLS)" and "Password with Certificates (TLS)" require two certificates and a key, "Password," requires one certificate and no key, and "Static Key" requires a key and key direction but no certificate. When I connect to SwitchVPN in Windows, it asks for a user name and password.Here's an example of the ovpn files (certificate and key contents removed):
Quote:
route-delay 3
fast-io
client
dev tun
[code]...
how to get what I need from the ovpn files, and which Authorization Type to choose in the Network Manager VPN configuration GUI, and what to put in the blanks?
View 1 Replies
View Related
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
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
Jun 10, 2010
I am using Ubuntu 10.04 LTS 64 bit. I deleted network manager so that I could install wicd but did not install wicd first so now I have no internet. I have read several post and the answer for me is not there.
View 2 Replies
View Related
Jan 3, 2011
I used network manager to share internet connection coming to wlan0 with eth1.
I have internet in my PC coming to wlan0 and I want the client I hook to eth1 to have internet too.
It works with network manager but I think it added something I didn't ask for... Apparently the client connecting to eth1 is recieving an IP from a DHCP server outside the range of wlan0 IPs.
How can I configure eth1 to assign an IP that is inside my wlan0 LAN or at least give a static address to eth1 client that's inside my wlan0 LAN and internet keeps functionning.
View 1 Replies
View Related
Feb 7, 2010
I am trying to setup Fedira 12 Linux Apache in my home network. I am able to access the hosted website from inside my home network without any problem. I am facing the problem to access it from outside. At the moment i have connected the Apache directly to DSL modem for testing purpose. I was reading "The ISP may have blocked the HTTP port 80. So check it by connecting the Apache directly to DSL modem." The temporary network connections for testing purpose are as follows..
DSL modem (SIEMENS Speed Stream 4200)-->Fedora 12/Linux Apache Server
I am even unable to PING the real ip (IP for DSL modem).(Firefox gave me error message "Connection Timed out) I have tried to ping it from the internet.I can PING the DSL from Apache without any problem.
1. Why i am even unable to PING the real IP of DSL modem at my home.?
2. Is it possible to run/setup Apache by using this type of DSL modem?
3. DSL modem has real IP. DSL MODEM assigns private IP (192.168.x.x) to Apache. So when a http request form the internet came to DSL modem on port 80, will it forward to Apache automatically.? or i have to made any changes.(I can not see anything in DSL modem to change/modify), OR do I have to use another DSL MODEM/Equipment (router)? This setup is just temporary. The actual design is as follows
DSL MODEM(Speed Stream 4200)-->Fedora 12 Linux ROUTER--->Internal network with DNS/Apache Server
View 9 Replies
View Related
Jan 29, 2010
My Ubuntu 9.10 (64 bit regular old desktop version) machine has two NICs, eth0 and eth1. eth0 does not connect to my router (and thus the Internet) automatically. I have to manually click on it in the NetworkManager applet after every reboot.
Internet connection sharing has also been impossible. I gave up trying to do that after about 2 weeks. I was simply trying to share my Internet connection with a Windows XP machine over eth1, but it never worked. I could ping one machine from the other, but couldn't get to the Internet from the Win XP machine.
Removing NetworkManager may be the ticket. Most of the tutorials for Internet connection sharing tell you to enter commands in the console. Maybe one of them will work once I remove the NetworkManager applet.
View 9 Replies
View Related
Jul 1, 2010
I'm trying to configure internet access using KDE network manager. Added new VPN pptp connection, set gateway and other options but manager tries to connect for about a minute and breaks then. Here is /var/log/daemon.log
Code:
Jul 1 17:35:22 dvinokurov-desktop NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Jul 1 17:35:22 dvinokurov-desktop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started
[Code]....
As I understand the main problem is in "(IP Config Get) timeout exceeded".
Configuration: Kubuntu 10.04 x86, VPN server with MSCHAPV2 auth, no compression, no encrypting.
View 1 Replies
View Related
Jan 17, 2011
I've read a lot on the internet about various ways of doing this but i've been unsuccessful each time. Basically what i've done is accidently un-installed network-manager because I was having trouble staying connected on my WPA network. The easiest way of reinstalling it I know of is using the CD but I don't have a CD ROM drive and the pen drive I used to install it I no longer have.
I tried using a program called Keryx but you need python installed and from some reason this doesn't come with ubuntu 10.10. I've also downloaded the .deb packages but I still need to download 200kb which is a killer. I've also downloaded it from here too [URL] but the install file makes no sense to me as i'm not a massive linux user. One last thing reinstalling isn't really an option as i've already put a lot of time into setting up this computer.
View 8 Replies
View Related
Jun 6, 2011
Is it possible to access windows network printers from a VirtualBox WindowsXP client running under Ubuntu 10.10 host? The networking type is NAT. Would Bridged Networking solve the problem? If so, is there a tutorial on how to set up bridged networking for virutual box?
View 1 Replies
View Related
Feb 9, 2010
I have installed WvDial (apparently) but it has no icon or launcher to start it by default, how do i get it to run? I also need basic set up how to. I am running Ubuntu 9.10 (Karmic) and network manager doesn't seem to be able to use my modem to connect to the internet (set up wizard works, appears connected, but then I get page not found error). Hence I wish to use WvDial to try to connect instead.
View 9 Replies
View Related
Jul 7, 2011
I have a Ubuntu 10.04 laptop that gets its Internet connection via WIFI using WICD as network manager, and Windows XP desktop with no Internet connection. What I want to do is share my Internet connection from my laptop with my desktop via a Ethernet cable. But i have no idea what to do. How do i go about doing this?
View 3 Replies
View Related
Sep 28, 2009
I have installed the CentOS 5.3 on VMWare. Then I Have Installed Apache ,PHP , Mysql with the flowing Command :
yum install httpd
yum install php
yum install mysql
yum install mysql-server
yum install mysql-devel
yum install php-mysql
Then I tested my Web Server , Data Base server and PHP Whit Create A PHP Page that work to Mysql this Test is successfully. Next I ping my machine IP (192.168.6.131) and then Ping windows xp machine. Even I Ping My Linux machine in Windows XP. But when check the PHP Page Or Local host in Linux machine whit Browser (IE or FF in XP), Response (IE:) Cannot display the webpage or (FF:) The connection was reset.
View 3 Replies
View Related
Oct 14, 2010
How do I tell the shared connection that it has a static IP and that I dont want a DHCP on the network?Do I have to set up DHCP on the box with the shared connection, even if that box only runs DHCP for a single IP address being the eth0 that is shared?Or can I tell the shared connection that it has a static IP and still allow network manager to run the shared connection?Or should I specify static IP's for all clients and the shared network manager and install say firestarter on the gateway to run the NAT for the eth0 out to eth1.
View 3 Replies
View Related
May 20, 2009
I have the following problem:I have to networks in remote places.I have an opnvpn client in one network that connects to the the router (openvpn server).My question is,can i connect the network where the openvpn client is,throught the computer with the client to the other network.If yes,how? (please make it an idiot proof anwser because i have limited knowledge about iptables). I was thinking like forwarding (the router in the network with the openvpn client is also firewalling with iptables) the request of the ip class of the openvpn network to the computer with the client,which masquarades the interface
View 2 Replies
View Related