Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Wireguard config file from ISP
« previous
next »
Print
Pages: [
1
]
Author
Topic: Wireguard config file from ISP (Read 103 times)
gaijinsan
Newbie
Posts: 1
Karma: 0
Wireguard config file from ISP
«
on:
November 24, 2024, 01:09:51 pm »
Hi,
I got configuration files for my WireGuard that I simply import to my WG in Windows and Linux.
But I want to add it to my OPNSense and there is no import of the conf-files.
I read the guides but there are more fields in OPNSense than there are rows in my conf file.
Cant you add a simple import of such configuration files?
The conf file looks like this,
[Interface]
PrivateKey =
dns = 2001:xxx:xxx:, 2001:xxx:xxx, ipv4, ipv4
Address = 10.xx.xx.xx/24,fdab:1337:xxx:xxx::xxx/64
[Peer]
PublicKey =
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = wireguard.5july.net:port
Logged
Patrick M. Hausen
Hero Member
Posts: 6862
Karma: 576
Re: Wireguard config file from ISP
«
Reply #1 on:
November 24, 2024, 02:01:52 pm »
You can simply put these fields in the UI and leave everything else empty.
"Address" in the "Interface" section is "Tunnel address" in the UI.
The "DNS servers" field appears when you enable advanced mode.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Wireguard config file from ISP