[SOLVED] openvpn network usage after systemd migration not working

Hey,
I have a problem after migrating from initscripts to systemd.
I´m on Mac OS X with tunnelblick as a client. I can connect to the server properly but with the connection established it seems I´m no part of the server network. I can`t ping any computer in the network and I can`t connect to samba shares. iptables seems to be set up fine, cause If I go back to initscripts everything is working again. It is an openvpn bridge setup.
my setup:
- complete migration to systemd, removed initscripts and rc.conf
- enabled openvpn
systemctl enable openvpn@openvpn_server.service
# [email protected] in /etc/openvpn/
server config file:
mode server
dev tap0
multihome
server-bridge 192.168.1.200 255.255.255.0 192.168.1.220 192.168.1.229
client-to-client
proto udp
port 1194
comp-lzo
persist-tun
persist-key
keepalive 10 120
ca /etc/openvpn/keys/ca.crt
dh /etc/openvpn/keys/dh1024.pem
cert /etc/openvpn/keys/archvpn.crt
key /etc/openvpn/keys/archvpn.key
tls-auth /etc/openvpn/keys/ta.key 0
tls-server
cipher AES-128-CBC
log /etc/openvpn/openvpn.log
client config file
client
remote myserver.dyndns.org 1194
dev tap0
proto udp
port 1194
comp-lzo
ca ca.crt
cert tom.crt
key tom.key
persist-tun
persist-key
resolv-retry infinite
keepalive 10 120
tls-auth ta.key 1
tls-client
ns-cert-type server
verb 3
cipher AES-128-CBC
float
network config with netcfg
INTERFACE="br0"
CONNECTION="bridge"
DESCRIPTION="Ethernet/OpenVPN bridge"
BRIDGE_INTERFACES="eth1 tap0"
IP="static"
ADDR="192.168.1.200"
NETMASK="255.255.255.0"
GATEWAY="192.168.1.1"
DNS=("192.168.1.1")
CARRIER_TIMEOUT=10
eth1="eth1 promisc up"
tap0="tap0 promisc up"
br0="br0 192.168.1.200 netmask 255.255.255.0 up"
if you need to know anything else please let me know. Thanks in advance.
Last edited by archtom (2012-11-12 12:53:56)

65kid wrote:
ar you making sure that the tap0 device is created before the bridge is set up? I also have an OpenVPN server runnning on a bridge and I use two netcfg profiles, one creating the tap0 interface (see /etc/network.d/examples/tuntap) and one creating the bridge. Then set both in NETWORKS in /etc/conf.d/netcfg to make sure they are created in the correct order.
Check the output of:
$ brctl show
$ ip addr
$ systemctl status openvpn@openvpn_server
can you please post your two config files? can this really be the issue if it is working with initscripts the way it is now? I only have one config file, the one posted above.
Last edited by archtom (2012-11-12 10:51:58)

Similar Messages

  • SM36/37: Specification "After Job" does not work for Daily "periodcity"

    I reviewed http://help.sap.com/saphelp_nw04/helpdata/en/20/2d513897110872e10000009b38f889/content.htm, which states what I am trying to do should work, but it does not.
    Here's the deal:
    1.  I have two jobs: "A" and "B".
    2.  "A" runs Daily.
    3.  I set-up job "B" to run "After job" "A" in my SM36 definition.
    Job "B" will run the next day, but never runs again after that even though job "A" continues to run "Daily" as it should.
    Further info:
    1.  We have "Event-triggered" jobs that run fine, but the "After Job" designation doesn't seem to work ongoingly.
    2.  I can review both jobs "A" and "B" for any "Predecessor" or "Successor" jobs, and, the first jobs to run after the initial set-up DO reference each other (in other words, let's say I schedule job "B" to run "After job" "A" on Tuesday.  After Tuesday's run, Job "A" sees job "B" as it's "Successor" job and job "B" sees job "A" as it's "Predecessor" job), but the definition doesn't last into the next day ONLY FOR JOB "B" (as I mentioned, job "A" always runs fine).
    3.  I can't set the "periodcity" for job "B" because, once I flag it to run "After Job" "A", the "period" options disappear.
    4.  One final tidbit: the variant for job "B" has a "key date" specified so the date is dynamic for each day the job runs.  I can set up job "B" to run "Daily" with this variant and it runs fine, but I wanted it to run AFTER job "A" so it never runs if job "A" doesn't run.  (At this point, it's becoming a matter of principal!)
    Here's my question:
    Why won't job "B" continue to run "Daily" after job "A" (a "Daily" job) runs?
    Thanks in advance,
    Lara

    Please close this thread since you posted the same question here:
    [SM36/37: Specification "After Job" does not work for Daily "periodcity"|SM36/37: Specification "After Job" does not work for Daily "periodcity";

  • I bought the production premium , cs6 , and I download it and registered with out any problem , I formatted my computer then I downloaded the collection , now everything else working only after effect is not working , what shall i do

    I bought the production premium , cs6 , and I download it and registered with out any problem , I formatted my computer then I downloaded the collection , now everything else working only after effect is not working , what shall i do

    did ae install without problem? check the install logs to be sure (Troubleshoot with install logs | CS5, CS5.5, CS6, CC)
    if it did, what do you see when clicking the executable?

  • Anlysis authorization implemented after Cascading is not working

    Anysis authorization implemented after Cascading is not working.
    Example: i have 3 dropdownboxes in WAD . Frist dropdownbox State, second dropdownbox District, third dropdownbox Town.In the first dropdown box i selected state AP ,it should show only districts in AP in the second dropdownbox.
    But it is not showingin the second dropdownbox.
    Please help me

    Hi Priya,
    The issue may be due to the SQL Reporting Services maximum number of parameter items. We can try to add following code to Web.config file to resolve the issue.
    <appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="30000" />
    <add key="aspnet:MaxJsonDeserializerMembers" value="30000" />
    </appSettings>
    (Note: We can according to our requirement to set these values. After that, restart all SQL Server services. )
    By default, the Web.config file is located in:
    C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager
    C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer
    More detail information, you can refer to the article about SQL Reporting Services maximum number of parameter items.
    http://sqlsrv4living.blogspot.in/2012/10/sql-reporting-services-maximum-number.html
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • HT3867 automatically connect to known networks using wi fi is NOT working

    "automatically connect to known networks" using wi fi is NOT working. Please can any one help

    Hi jvichatt,
    Welcome to Apple Support Communities.
    You may find some of the steps in this article helpful for troubleshooting your Wi-Fi connections:
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Best,
    Jeremy

  • LOCK THE USER AFTER X ATTEMPTS --NOT WORKING?

    LOCK THE USER AFTER X ATTEMPTS --NOT WORKING
    OpenSSO -->Configuration-->Authentication -->Core -->Login Failure Lockout Count:( 3 ) --> Warn User After N Failures: ( 4)--> Email Address to Send Lockout Notification: --> [[email protected]|mailto:[email protected]]
    I tried above step but failed to achieve LOCKING the ACCOUNT...
    Could some one please help me...

    This only works if you use the LDAP auth module.

  • Ask for password after screen lock not working!?

    Ask for password after screen lock not working? It used to work before mavericks, each time my computer display sleep I'm asked for the password immediately. Now it never asks for it?

    From 2008 MacRumors discussion:
    SOLUTION: Browse to Home>Library>Preferences and drag com.apple.systempreferences.plist to the desktop.
    Caused by a corrupt user preferences file. On restart, you may find user settings have defaulted. Set up as desired.
    Worked for me.

  • [solved] Wireless network issues after installing gnome3

    After installing gnome 3 I can't connect to my wireless network any more. I start gnome using 'xinit gnome-session' after loggin in at a command line. Here are some relavent ouptuts:
    $ ifconfig
    eth0 Link encap:Ethernet HWaddr 00:25:4B:8D:B7:07
    inet6 addr: fe80::225:4bff:fe8d:b707/64 Scope:Link
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:10
    eth1 Link encap:Ethernet HWaddr 00:25:4B:BE:74:BC
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:20 Base address:0x6000
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:32 errors:0 dropped:0 overruns:0 frame:0
    TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1920 (1.8 Kb) TX bytes:1920 (1.8 Kb)
    $ iwconfig
    lo no wireless extensions.
    eth0 IEEE 802.11 Nickname:""
    Access Point: Not-Associated
    Link Quality:5 Signal level:0 Noise level:234
    Rx invalid nwid:0 invalid crypt:0 invalid misc:0
    eth1 no wireless extensions.
    Trying to connect to a network through gnome-control-center:
    $ sudo gnome-control-center
    ** (gnome-control-center:6172): WARNING **: Error in getting active connection 'Vpn' property: (19) Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
    ** (gnome-control-center:6172): WARNING **: _nm_object_array_demarshal: couldn't create object for /org/freedesktop/NetworkManager/ActiveConnection/4
    ** (gnome-control-center:6172): WARNING **: Error in getting active connection 'Vpn' property: (19) Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
    ** (gnome-control-center:6172): WARNING **: _nm_object_array_demarshal: couldn't create object for /org/freedesktop/NetworkManager/ActiveConnect
    xterm output when trying to connect through the network applet:
    Window manager warning: Log level 16: Device activation failed: (32) Insufficient privileges
    Last edited by dave1022 (2011-05-14 17:14:12)

    iskandr wrote:
    Hello,
    I'm having problems with my wireless network connections, too. I did a fresh arch install with gnome3 some days ago to avoid any issues when upgrading, but i just can't access any wireless networks now. Everything else works like a charm, though. I followed the usual steps to set up my network/wifi with all the required modules and packages (broadcom-wl from the AUR, etc.) but it doesn't work like it did with gnome2 and xfce4.
    My iwconfig/ifconfig output looks like dave1022's. Don't know if this is of any help...
    The nm-applet in the gnome3 "panel" actually lists nearby wireless networks, but once I click on one of them, gnome asks me for authentification with my root password (user password does not work). I don't think it should be this way. If I enter my root password here, nothing happens whenever I click on the concerned network to connect to it. I deleted the /etc/NetworkManager/system-connections/<SSID> file to reset the authentification process.
    I tried to consult the gnome3 pages in the wiki, but couldn't find any valueable hints either...does anyone have any idea what I might have done wrong or forgotten?
    It's exactly the same for me and it's driving me nuts. I'm using iwl3945
    [EDIT]
    Well... actually installing the applet solved it for me. Is the applet actually needed for Gnome 3 or is a workaround?
    Last edited by Slurp (2011-05-14 17:11:19)

  • Camera Flash after recent update not working

    After I did the most recent update to my phone my camera flash will not work.  Has anyone else had the problem and does anyone know how i can fix this.  I pulled the battery but that did not help.
    Cortina B.

    cbarney4 wrote:
    After I did the most recent update to my phone my camera flash will not work.  Has anyone else had the problem and does anyone know how i can fix this.  I pulled the battery but that did not help.
    Hello cbarney4,
    Please reload your OS. Read this article.
    How to perform a clean reload of the BlackBerry Device Software using BlackBerry Desktop Software fo...
    If still persists, contact your phone provider and needs to be repaired.
    Thanks.
    Good luck!
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

  • Printing via Network USB print server suddenly not working any more

    I have always been able to print with my USB
    printers connected through a small, pocket-sized Keyspan USB Print server, Model US-4A, very easily and seamlessly, - until the very latest update to Snow Leopard.
    This server is connected to my router and the rest of my in-home Mac network by means of an ethernet port, and it has four USB device ports, 1 each for my various printers and a flatbed scanner. It worked well under OS 10.6 until just now.
    Now, all of a sudden, though the server hardware can still easily "see" and connect to
    the printers, when I actually hit 'PRINT', then the Mac OS
    print dialogues are showing some of the printers as "offline." They show up as 'unavailable' in the dialogue where you choose which printer to print to and the print dialogue boxes show the print jobs cused but then report - 'printer offline'
    When I bypass the print server - and connect the same
    printers directly to the Mac's USB ports, they print fine.
    It suits my setup to be able to continue printing via the print server, however, and I am wondering what sort of new issue could now begin fooling the MAC OS into thinking printers are not connected when it has had no trouble with the same print server and exactly the same physical connections previously ?
    I've already tried 'deleting' and uninstalling the printers and then reinstalling, and this attempted fix does not work.
    Any suggestions here ? Is this a known issue with 10.6.3 ?
    What has happened to suddenly bring this about ? Any ideas ?

    It appears that 10.6.4 has essentially broken the US-4A usb server. Keyspan's (now Tripp-Lite) response is that the latest driver is for 10.5.x and Snow-Leopard is still not supported. (1 year after 10.6.0 was released to the public). In fact, their response is that they do not even know if they will continue to produce the US-4A. Note that the U2S-2A (2 port USB 2.0) server does not support 10.6 either. Shame on Tripp-Lite for continuing to advertise, and sell a product that does not work with the current version of OS X.

  • [SOLVED] Why doesn't this systemd sleep script work as expected?

    Hey all,
    After having a service file to restart an application (that outputs text to the root window for DWM's statusbar) that kept failing numerous times, I decided to go back to the good old scripts to manage things. I already have one in use for my powersaving scripts, that looks like this:
    #!/bin/sh
    case $1/$2 in
    pre/*)
    /usr/bin/powersave false ;;
    post/*)
    if cat /sys/class/power_supply/BAT1/status | grep Discharging > /d$
    then
    /usr/bin/powersave true
    else
    /usr/bin/powersave false
    fi
    esac
    I based the new script on it, which looks like this:
    #!/bin/sh
    case $1/$2 in
    pre/*)
    /usr/bin/killall dwmst
    post/*)
    /usr/bin/sleep 3 && /usr/bin/dwmst &
    esac
    But it's not working after suspend; my application is not launched. When I run the script from the terminal, it does work as expected. Here's the output of journalctl:
    nov 22 15:05:48 edge systemd-sleep[7405]: /usr/lib/systemd/system-sleep/dwmst.sh exited with exit status 1.
    What is wrong here?
    EDIT 23-12-2013: I went back to a systemd service file.
    Last edited by Unia (2013-12-23 00:04:40)

    If you test it by putting some things in there that print to a file or the journal or something, do they show up?  I'm just wondering if the formatting is somehow screwed up (which it doesn't appear to be), or if it might be some kind of a race between the things run by /usr/bin/powersave and the things it writes to.

  • Please Help - Network System Preferences/Advanced Airport Not Working

    Hi all.....I posted here before and got no replies but I'll try again.....nothing happens when I click the advanced button in Network System preferences but only in Airport - which is my primary connection....I have reinstalled the 10.5.6 update and have been trying to resolve for weeks......any help is most, most appreciated!
    Thanks

    Thanks...I did and twice the cpu just froze........no kidding......I was able to set up a new location after reinstalling 10.5.6 but still the advanced button in sys prefs/network, only in airport, does not do a thing.
    Here's the console message after clicking the advanced button:
    4/26/09 11:49:55 AM System Preferences[17974] Error: Could not load AirPortOptionsTabView.nib
    4/26/09 11:49:55 AM System Preferences[17974] * Assertion failure in -[NSTextFieldCell _objectValue:forString:errorDescription:], /SourceCache/AppKit/AppKit-949.43/AppKit.subproj/NSCell.m:1338
    4/26/09 11:49:55 AM System Preferences[17974] Invalid parameter not satisfying: aString != nil
    Thanks for any help.....I'm dying to change my DNS Settings using airport and can't.........plus this just doesn't seem "right."

  • Network Controller driver for T42p not working

    We have a T42p (type 2373-HTU) that had a new copy of WinXP Pro installed on it, wired network is working but wireless is NOT working. 
    In Device Manager, the network adaptor is showing up as working and it is (Intel PRO/1000 MT Mobile Connection) working fine on a wired connection.  The Bluetooth works when you Fn-F5 it on. My problem is that the Network Controller has the infamous yellow question mark on it and I have been through every single driver on the Lenova site for this particular laptop (2373-HTU) and none of them work.  I did follow the install instructions and still have the same problem.  I assume this is why the wireless networking is not working. I do have an icon in Control Panel for Wireless Network setup wizard. There is no off/on switch for wireless on this model. I have been in the BIOS and there is no way to turn wireless off/on in there either.  As far as I know ... this particular model does have a wireless card installed.

    Welcome to the forum! These were the original specs of your T42p:
    P M 745, 1GB RAM, 60GB 7200rpm HDD, 15 UXGA(1600x1200) TFT LCD, 128MB ATI FireGL T2, CD-RW/DVD-R Multi-Burner(slim), Intel 802.11b wireless, Bluetooth/Modem, 1Gb Ether, UltraNav, Sec Chip, 9 cell Li-Ion Batt, WinXP Pro
    The driver, presuming you're running XP:
    http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mob​iles/1rwc89ww.exe
    After downloading and extracting the driver, you must go into C>Drivers>Win>Wlanint and run the setup file from there.
    Quite a few users have reported issues with Intel 2100B card under XP SP3. You may want to consider getting a newer card, they are quite inexpensive nowadays.
    Good luck and keep us posted.
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • Boot from disk repair on networked computer because cd rom not working

    Hello, please help me! I have an eMac which works fine except I cannot boot from the cd rom. It reads cds fine for information and also dvds but for some reason the burner is also not working. I need to defragment my hard drive but cannot because it's not allowing me to boot from the nortons cd. It starts out promisingly with the big gray apple but then after 5 minutes shows me a big gray fuzzy box and I ebd up shutting down.
    I'd like to know if I can boot from my other computer, an iMac (older model, system 9.2), but not only that, if I can boot from the disk doctor cd loaded in my iMac. Is this possible? My iMac has disk doctor installed but it isn't meant for OS X, so I want to boot from the disk doctor cd that I will insert in there.
    One more thing...I need to re-do all my networking because I have forgotten the passwords (and didn't use keychain - I know, my bad). can someone please tell me how I can cancel all my previous info and restart the process as though it were all new? Do i have to call my IP and get passwords from them etc.
    I would appreciate any help. this is my first time here, please don't let me down guys! thanks.

    Is your hard drive really 20 GB? I thought the standard eMac hard rives started at 40 GB. In any case, 6 GB free space should be plenty for normal use. Photoshop, of course, is kind of extra-ordinary in that it needs more scratch files than most any other program short of DVD editing. A key question would be how much RAM in in your eMac. The 128 MB or 256 MB that shipped with baseline eMacs is really minimal for doing anything more than basic text editing; 512 MB or more is better. For Photoshop, you could max out at 1 GB RAM. With a tight budget, RAM would be the first thing I'd suggest adding; worry about adding an extral Firewire hard drive later. You can check RAM specs and prices at Crucial and you'll find RAM installation instructions at eMac - Do-It-Yourself. At a minimum, close all other programs when doing anyting in Photoshop.
    If you partially ran Disk Doctor Kervorkian, then at a minimum I'd suggest starting from your OS X Install disk and running Repair Disk from the Installer menu, as desribed in Using Disk Utility and fsck. You'd be more certain of undoing whatever damage Norton has done by using DiskWarrior, but using the OS X Install disc's Repair Disk is free and will at least indicate if there are any directory problems.
    Parameter RAM (PRAM) holds computer settings and resetting PRAM can help if the contents of PRAM become corrupted. Refer to Mac OS X: What's stored in PRAM? for more info. NVRAM can be thought of as a superset of PRAM. In any case, I doubt that affects your CD burner.
    You should definitely run the cron maintenance scripts; if you've never allowed the scripts to run overnight or run them manually, that should speed up your Mac significantly (forcing the maintenance tasks was finally built into 10.4.2 and later). You can download the appropriate version of the freeware OnyX and use that to run the maintenance tasks once a week or so. You can also use the Terminal program; see How to Force Background Maintenance. OnyX will also let you clear logs and caches, though, which can further help. I'd suggest running only one task in OnyX at a time (resist the urge to load up everything in it's Pilot menu), and restart afterwards.
    If you've ever run any installer that asked for an administrativ epassword and haven't already done so, run Disk Utility> Repair Permissions also (Ony X or similar tools such as MacJanitor, YASU, Cocktail, et al. can do this as well).
    You should also check out these links in the User Tips Library (with thanks to Red Dwarf for his sorting of the list):
    Travis A. - kmosx: Regular Maintenance / General Troubleshooting
    http://discussions.apple.com/thread.jspa?threadID=196761
    Gulliver - kmosx3: Mac OS X 10.3/10.4: System maintenance
    http://discussions.apple.com/thread.jspa?threadID=122021

  • "Build Application/settings/Advanced/Run after installation" is not working LV70

    Hi !
    Look at thread
    http://forums.ni.com/ni/board/message?board.id=170&message.id=129269
    Seems like "Run executable after installation" is not workin at all (LV70, W2K).
    I' been try all,
    - run directly *.BAT file
    - i great exe file what' s runn *.BAT file.
    If i run directly "CmdPrompt3.exe" (attachment , source) it's working but not
    with when i run "setup.exe" ?
    What is wrong ?
    What means "wait until done" ?
    BR
    -HeVi-
    Attachments:
    CommandPromt3.vi ‏23 KB

    Hi HeVi,
    I'm not sure that I completely understand what your issue is. Are you
    trying to launch a BAT-file after the installation of an application?
    In that case, I will recommend you to refer to the following
    KnowledgeBase:
    Running a Batch File Automatically After an Installation to Access Installed Files
    If the methods in this KB doesn't work, please let me know.
    Have fun!
    PS: I wish it was only 25 degrees celsius here - it's currently around the 40 degrees celsius in Austin...
    Message Edited by Philip C. on 07-08-2005 02:42 AM
    - Philip Courtois, Thinkbot Solutions

Maybe you are looking for