Re: [OpenIKED] Is it impossible to differentiate the policies by dstid?

2018-11-06 Thread
Thanks for the input, however, I think srcid defaults to the hostname when it’s omitted. Explicitly setting it didn’t give me any luck. > On Nov 7, 2018, at 2:33 AM, J Evans <3...@startmail.com> wrote: > > I am by no means an expert, but for my setup, in order to get multiple > policies working

Re: [OpenIKED] Is it impossible to differentiate the policies by dstid?

2018-11-05 Thread
n you remove quick from both policies? > On Mon, Nov 5, 2018 at 7:00 AM 雷致强 wrote: >> >> OpenIKED is so great when I use one policy for all users. However, I’m >> having trouble when I try to apply different policies to different users. >> With iked.conf followed, i

[OpenIKED] Is it impossible to differentiate the policies by dstid?

2018-11-04 Thread
OpenIKED is so great when I use one policy for all users. However, I’m having trouble when I try to apply different policies to different users. With iked.conf followed, iked seems to applies “blackjack” policy to incoming connections only, which keeps the users of “redheart” out. ikev2 "blackja

Re: IP Forwarding is not working?

2016-12-10 Thread
Hello, It turns out this only happens when I assign IPs to em1, em2 and em3 directly. After I bridged them with different virtual ethernets, everything works fine. Can anybody tell me why? Thanks! > On 10 Dec 2016, at 2:21 PM, 雷致强 wrote: > > en0 en2 and en3 are on my Mac, which is ok,

Re: IP Forwarding is not working?

2016-12-09 Thread
em0 192.168.244.255192.168.244.1 UHb00 - 1 em0 > On 10 Dec 2016, at 6:45 AM, Fred wrote: > > On 12/09/16 19:35, 雷致强 wrote: >> Sorry, I posted the wrong ifconfig configuration, this is the one on my Mac: >> >> $ ifconfig >> lo0: fla

Re: IP Forwarding is not working?

2016-12-09 Thread
Sorry, I posted the wrong ifconfig configuration, this is the one on my Mac: $ ifconfig lo0: flags=8049 mtu 16384 options=1203 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 nd6 options=201 gif0: flags=80

Re: IP Forwarding is not working?

2016-12-09 Thread
Hi, I don’t really think ip forwarding is broken either as I can still access the Internet. # ifconfig lo0: flags=8049 mtu 32768 index 6 priority 0 llprio 3 groups: lo inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 inet 127.0.0.1 netmask 0xff0

Re: IP Forwarding is not working?

2016-12-09 Thread
Sorry, I forgot to post this: OpenBSD 6.0 (GENERIC.MP) #2319: Tue Jul 26 13:00:43 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4182605824 (3988MB) avail mem = 4051369984 (3863MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 a

IP Forwarding is not working?

2016-12-09 Thread
Hi, Thanks for making OpenBSD so great. It has been my first and only choice for routers. Recently I’ve just got a fanless PC with 4 NICs and have OpenBSD 6.0 installed on it as a router. Everything is working great except the LANs are blind to each other. em0: flags=8843 mtu 1500 lladdr