Ubuntu :: Set Up A Script Called Myvpn To Run Openvpn Doesn't Work
May 5, 2010
Just had to re-install after I did some very silly things. Running 9.10 Ubuntu with XBMC-live Have gnome desktop, Firefox with adobe flash plugin. I set up a script called myvpn to run openvpn and this used to work and now it doesn't I did
[Code]...
If I manually type in each command it works, but the script doesn't?
View 2 Replies
ADVERTISEMENT
May 31, 2011
my problem is following: I'm running a bridged OpenVPN on my Debian. If the service is running, everything works fine: local and Internet, ftp, mailing from in and outside etc. But, when stopping OpenVPN, sending mails from inside (LAN) fails: I cannot reach smtp (postfix) listening on port 465. And even reaching mailboxes using IMAP gets horribly slow eg. in Thunderbird. Here is my firewall.sh script.
Quote:
#!/bin/sh
echo "
IPTABLES FIREWALL inicializalasa - szures"
# Enter the designation for the Internal Interface's
INTIF="eth0"
[Code].....
View 9 Replies
View Related
Feb 13, 2010
I want to configure a VPN over the Internet.I installed the 'openvpn' package, generated the key file, transfered it by a secure way to the client, and setted up the configuration file.
So, in that configuration file I input the IP addresses of the tunneled interfaces. Both IPs are static in the tunnel.
Then, I've heard somewhere that I can assign a dynamic configuration IP for the client. I do this registering a range.
Well, when I tried to change static IP to dynamic IP (changing '192.168.0.2' to '192.168.0.0/24') in the configuration file, the OpenVPN didn't work.
Obviously I don't know what I'm doing, and I really, don't believe that simply changing the IP will make it work, but I tried.
I hope I explained my problem as well.
My configuration file:
# OpenVPN Server Configuration File
dev tun 0
ifconfig 192.168.0.1 192.168.0.2
cd /etc/openvpn
secret key_file
In client I execute the 'openvpn' without the '--daemon' parameter.Then I want that my client uses a IP in a range (192.168.0.0/24, for example), instead of a static IP (192.168.0.2).I also thought to use a DHCP server, but I'm not sure that will work.
View 6 Replies
View Related
Jun 27, 2009
This will be a little long (having read Phil's 'how to ask questions' FAQ). I'm trying to get OpenVPN working between my CentOS server and some Windoze laptops running XP. There seems to be plenty of sample
config files available, but to date, none of them have worked for me. Pulling out my trusty Wireshark, I've found some clues,
BACKGROUND:
My local subnet (NAT'ed by my gateway router) is 192.168.52.x. My router has been configured with a conduit (port-forward) for port 1194 (the standard OpenVPN port), which points towards my CentOS server.The CentOS server is .52.112, and the supplicant is .52.110. I have tried the lient both inside and outside my local subnet, with no difference in events or outcomes.
[Code]...
View 2 Replies
View Related
Jul 13, 2011
I feel there's a bit of a misunderstanding going on between C++ and me...My problem is that I have a deque of pointers to a class, and create objects then add them to the deque in a for loop. However, the destructor is called on the object as soon as the loop quits.
Code:
This prints:
Code:
Now, if I change the deque from deque<Test*> to deque<Test> then it works fine - I get:
Code:
However, I can't do this with my actual code, because I am creating a deque of pointers to an abstract class, so it won't let me instantiate the class. (This is all so that I can take advantage of polymorphism, and call functions on a set of similar objects without worrying what type of object I'm dealing with).
So, I suppose my question is: what is the correct way to create that deque of pointers to the abstract class? I don't seem to be barking up the right tree currently.
View 4 Replies
View Related
Jul 27, 2010
i have added a vpn connection on my Lucid desktop machine, but every time i try and connect, it fails. I also have the same, identical vpn connection on my karmic install on my laptop. everything works perfectly on Karmic, but Lucid is having problems. I have followed identical steps for creating the vpn connection on both machines: vpn connections can be made in 2 ways, the first is through the network manager, but trying to connect through the nm-applet returns an error about vpn failing to connect and "no valid vpn secrets".
I suspect this is at the root of the problem. The only way for my Lucid machine to successfully connect through the command line is if I run the openvpn command under sudo.
View 2 Replies
View Related
Jan 23, 2010
I am trying to setup a vpn client for my iphone since it doesn't support openvpn. However I keep running into this error message: initial Main Mode message received on <local ip>:500 but no connection has been authorized with policy=PSK.
View 3 Replies
View Related
Jan 5, 2010
A couple of weeks ago I was using openvpn with a provider of PVNs on a home wifi network with no problems.I had installed openvpn using apt-get install and downloaded theopvn PVN files from the organization.erything worked fine.I would type sudo openvpn nameoffile.ovpn and then add my username and password during the installation process.However, when I try to do the same on an Ethernet network, the installation work fines (as above) and informs me that everything is connected (same as on the home Wifi network) but Firefox and all other software cannot connect to anything on the Internet.I contacted the organization who said the DNS was a problem and I needed to install resolvconf then modify each .opvn file using up /etc/openvpn/update-resolv-conf and down /etc/openvpn/update-resolv-confcauses the installation to hang because it does not like openvpn pointing to an external file.Irrespective of the problem I have with this "solution", previously I could use openvpn without modifying the .ovpn files. It just worked! I wonder if anyone knows why using the exact same configuration on an Ethernet network (which I have not used before with openvpn) is causing problems
View 4 Replies
View Related
Sep 9, 2010
I'm following this guide [URL]. I am trying to use a bridge to vpn from work to home.
/etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto br0
iface br0 inet dhcp
bridge_ports eth0
iface eth0 inet manual
up ifconfig $IFACE 0.0.0.0 up
up ip link set $IFACE promisc on
down ip link set $IFACE promisc off
down ifconfig $IFACE down
I am forced to use dhcp because of my router. (although it is a static lease) I think this is where I am hung up. Everything else seems to be working properly though. I have a windows client connecting but is limited to the server serving out openvpn. (192.168.1.21) In other words it is not functioning as a bridged vpn service.
ifconfig
openvpn server.conf
local 192.168.1.21
port 1199
proto udp
dev tap0
up "/etc/openvpn/up.sh br0"
down "/etc/openvpn/down.sh br0"
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 192.168.1.21 255.255.255.0 192.168.1.100 192.168.1.200
keepalive 10 120
tls-auth ta.key 0 # This file is secret
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
View 2 Replies
View Related
Apr 5, 2010
i have some problems with configuring openvpn tunnel connection to my openvpn server. I'm using static-key tcp connection. Network manager always said to me that connection could not be established. Also, when i try to run openvpn from terminal, i got some strange permissions problem:
Code:
openvpn --config config.ovpn
Mon Apr 5 15:48:37 2010 OpenVPN 2.1_rc19 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Oct 13 2009
Mon Apr 5 15:48:37 2010 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Apr 5 15:48:37 2010 /usr/sbin/openvpn-vulnkey -q moj.key
[code]....
View 1 Replies
View Related
Oct 27, 2010
I followed this tutorial => https://help.ubuntu.com/community/OpenVPN
I'm working on ubuntu 10.10 OS
So everything is ok when i start the tutorial with my interface on code...
The only way I can make it work again is by setting the interfaces back to
auto lo
iface lo inet loopback
>> then reboot
and after that put back the br0 settings in the interfaces en restart the network.
View 4 Replies
View Related
Aug 9, 2010
i have installed openvpn and config it for a tunnel. my server.conf and client,conf is as follow:
server.conf
port 1194
proto udp
[code]...
View 1 Replies
View Related
Sep 1, 2011
I'm using 'Adobe Flash plug-in 10.3.183.4ubuntu0.11.04.1', installed from the package repos on kubuntu, and since the last update, it has broken all flash functionality in both rekonq and firefox.I have tried removing and reinstalling the package multiple times, both with and without the browsers open. Can anyone suggest a way to restoring functionality?
View 7 Replies
View Related
Oct 23, 2010
I'm trying hard to run an openvpn server on a openvz VPS, the problem is packets sent from openvpn server process, doesnt reach the client, so connection is never stablished (I run tcpdump on server and wireshark on client to carefully investigate whats wrong), the first guess is that a kind of firewall is blocking traffic (I tried connecting to server through different ISP's but it's possible the national network provider applied some filtering but it cant be on IP,src port or dst port as I'd tried different configuration.
what about deep packet inspection technics, is it possible to block my traffic?) but at exactly the same time I can transmit UDP packets using netcat from server to the guest. there is no firewall enabled in between, I had tried, tcp and udp, tried both open vpn and openvpnAS and tried any thing one can imagine! the VPN is configured as a routed (TUN) type on debian
View 9 Replies
View Related
Feb 17, 2011
how to make creative web cam working with ubuntu
View 1 Replies
View Related
Sep 11, 2010
When I installed my 64 bit system of Ubuntu 10.04 the sound worked very well and I were very happy. The problem started however when I installed Skype which uses pulseaudio. As soon as I start skype (or any other application that uses pulse, HoN for example) the applications sound output or input does not work at all. If I have pulseaudio started in some way, applications that I suppose do not use it like spotify or flash player stops to produce sounds. And when I type "pulseaudio" in the terminal it gives me this:
[Code]...
View 3 Replies
View Related
Jul 29, 2010
I'm having trouble getting compiz to work on my Laptop. It worked for a while and then I turned on Shift Switcher and a message popped up saying..."The new value for the button binding for the action Terminate in plugin Shift Switcher conflicts with the action Zoom Window of the Scale Addons plugin. Do you wish to disable Zoom Window in the Scale Addons plugin?" I was given the option of Set Terminate anyway, Don't set Terminate, and Disable Zoom Window. I clicked Don't set Terminate and ever since the only thing that works in compiz are the bindings in the general options. I've used synaptic to completely remove and then reinstall compiz but the problem persist. Something else weird, all of the changes I made are still there, even after complete removal, but they don't work?
View 2 Replies
View Related
Oct 29, 2010
When I try to hibernate, the computer just goes to a blank, black screen and doesn't turn off. I have to hold the power button to get it to shut down, and when I turn it back on none of the programs running before hibernation have been saved.
View 8 Replies
View Related
Feb 16, 2011
I just recently (about an hour ago) installed Ubuntu Netbook edition on my old laptop, and I was greeted with the message, that unity could not be run due to some sort of missing driver...fair enough, I was then greeted with the default Ubuntu desktop, I installed all my needed software (wine, google chrome) and installed the missing display drivers. I then rebooted the system, and once again I am stuck with the default desktop, and not the Unity interface. I checked the software center, and it says Unity IS in fact installed.. And yet I cannot make it appear. So now I ask you Ubuntu veterans. How do I make it work?
P.S. I wiped the system of windows, and the computer is an old HP Pavilion DV6000
View 2 Replies
View Related
Apr 23, 2009
I have this annoying problem since day one.I am testing out Red Hat RHEL5, everything is fine except DNS look up.If I ping www.google.com, it doesn't work, ping ip address it all works;if I bring up browser, put www.google.com it doesn't work, can't find the name, however, simply put ip address there it works.My DNS seeting seems ok, and the DNS works from Windows box.
View 2 Replies
View Related
Apr 27, 2011
i have tried mail function in php to send email from the local host its work for yahoo but not with HOTMAIL whay ! actually i tried to figure it out,
View 1 Replies
View Related
Jan 22, 2010
I run "xev" and left alt reads "Alt_L" while right alt reads "ISO_Level3_Shift".
I tried googling it and found this code...
View 9 Replies
View Related
Apr 30, 2010
I just wanted to post here to let anyone know how to fix a broken Mic in 10.04. I have an XPS m1530 and was running RC and updating. This was a big problem since I use Skype a lot to talk to freinds and family out of country.I fixed it by removing and re-installing Alsa but this may not be a problem for people installing from the final release ISO.here are the commands you need to run
Code:
sudo apt-get --purge remove linux-sound-base alsa-base alsa-utils
sudo apt-get install linux-sound-base alsa-base alsa-utils
sudo apt-get install gdm ubuntu-desktop
View 9 Replies
View Related
Jan 17, 2010
My atl gr key often doesnt work. Since I have an azerty lay-out, I often need this key (fi for typing @).
I tested it with xev and got the following output (first one is for a key that does work, fi alt_l and second output for the alt gr key to show the difference)
alt_l
KeyPress event, serial 34, synthetic NO, window 0x4000001,
root 0x66, subw 0x0, time 1411517, (-111,434), root570,459),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
[Code]....
View 3 Replies
View Related
Jan 12, 2010
ssh works fine on root but when i log into my other account, the ssh doesn't work, it just times out when i putty it. I used this to try and start it from terminal in my reg acc, and then as the su.
sudo /etc/init.d/ssh start
After that didn't work i did this
sudo apt-get remove openssh-server
sudo apt-get install openssh-server
sudo /etc/init.d/ssh start
and still nothing. I have no clue why it only works on root and no other accounts.
View 9 Replies
View Related
Feb 10, 2010
My awn manager for the awn dock does not seem to want to open. I have tried to open it so I can configure my awn dock to work properly but it does not seem to want to co-operate. Should I uninstall and reinstall it or what?
View 4 Replies
View Related
Feb 14, 2010
I just tried a fresh install of ubuntu 9.04 and a new attempt for 3D acceleration with my ATI Radeon Xpress 1150 - AND IT WORKED! thanx to this guide: [URL] glxinfo | grep "direct rendering" was giving a YES and playonlinux in the terminal didn't give the usual "you don't seem to have any 3D acceleration" message. For a few minutes, my happiness was greater then ever (ehum) I installed Jedi Knight II, Jedi Outcast, and it worked. Only I couldn't adjust the screen size or the gamma (and a few other minor video settings). After some install/reinstall of playonlinux and wine I found out something: 3D acceleration didn't work any longer. glxinfo | grep "direct rendering" is now giving
direct rendering: No (LIBGL_ALWAYS_INDIRECT set) and I get the error in Playonlinux that i don't have any 3D acceleration. I want to know how this could happen? My xorg didn't change at all. But for completeness, here it is:
[Code]....
View 1 Replies
View Related
Feb 21, 2010
I have tried all the usual stuff like: apt-get cups-pdf and similar things.
Of course I use the proper way (like sudo, etc.) The point is I can't print PDF files. Have a look at the image:
<snip>
I have also modified to the cups-pdf.conf file and have directed it to /home/{USER}/PDF And yes the aforementioned folder (i.e. PDF) exists at its proper place.
So I think the main problem is "P2POutputStream" error which you can see in the image.
View 2 Replies
View Related
Apr 11, 2010
or at least, it doesn't seem to. for some reason, my .txt, .doc, .rtf, and other files that shouldn't have the execute bit set often seem to (i think i know why, but that's not important). it's my understanding that this command should, for example, remove the execute bit from all .rtf files recursively (that is, from .rtf files in subdirectories too):
Code: chmod -R 666 *.rtf i've read help and the man page for chmod, and it seems that -R switch should make chmod work recursively, but it only alters files in the present working directory. could someone point out what i'm doing wrong?
View 9 Replies
View Related
May 5, 2010
When I try to print any PDF from either Acroread or Evince, it doesn't print and the queue tells me the printer isn't connected; and yet, when I print from OpenOffice.org, everything's fine.
View 3 Replies
View Related