LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-16-2018, 05:20 PM   #1
StrongSwanQuestion180816
LQ Newbie
 
Registered: Aug 2018
Posts: 2

Rep: Reputation: Disabled
StrongSwan - Initializing iptables failed


Hello all,

I am trying to set up a VPN using StrongSwan and Xl2tpd,
now when the client connects to the server, the server fails at initializing iptables.

The exact error message is:
initializing iptables failed: Permission denied (you must be root)

The software versioning information:
- StrongSwan 5.5.1/K4.9.0-5-amd64
- xl2tpd 1.3.8

StrongSwan is setup to use PSK for authentication
 
Old 08-17-2018, 12:27 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,728

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Code:
(you must be root)
^^ That seems pretty clear...
 
Old 08-18-2018, 07:50 AM   #3
StrongSwanQuestion180816
LQ Newbie
 
Registered: Aug 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
I installed StrongSwan from debian repo,
So unless debian messed with the configuration parameters to have the kernel module
run as something other than user root & group root, which is what the StrongSwan documentation
says it'll default to if not set in the configuration, then I whouldn't be getting that error.
Neither one of those values are set in the configuration, and even when they
were explicitly set to root, I still got the same error message.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Strongswan IKEv2 - clients can access everything BUT strongswan machine itself - "truncated-udp length 0" psycroptic Linux - Networking 3 05-27-2017 03:41 AM
Strongswan-to-Strongswan IPsec VPN - slow with pure ESP, fast w/UDP encapsulation? psycroptic Linux - Networking 0 11-20-2014 07:44 AM
IKE_SA_INIT failed with StrongSwan Site to Site VPN between different amazon VPCs loesprite Linux - Networking 1 11-21-2012 11:43 PM
mysqld failed. the error was: initializing MySQL database. avnat Linux - Newbie 5 03-18-2011 11:58 PM
ethernet initializing at boot failed Maxei Linux - Networking 4 03-16-2005 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration