Re: WireGuard, Windows mobile laptop and pf.conf?

2020-12-29 Thread Andreas X
>
>
>
> > I happen to come across this blog today that may help
> > you clarify some of your questions:
> >
>


>
> https://ozgur.kazancci.com/secure-fast-vpn-server-wireguard-setup-on-openbsd-and-configure-windows-10-clients-to-connect-through-it/
>
> I hope it helps. I am planning to set up one myself in the near future.
> Please keep us posted how yours turn out.
>
> Hakan Duran
>

Hi Hakan, thank you for this!
It works nicely, and has helped me a lot!


PF comments?

2020-11-11 Thread Andreas X
I have the following pf.conf file for Mail + Web server (on the same server)

Link: https://pastebin.com/raw/UY698p2E

Do I miss anything, or anything wrong appears to you there?

Any suggestion would be much appreciated.

Thanks a lot!


Re: search contains unknown domain in resolv.conf

2020-10-27 Thread Andreas X
ignore domain-search;
supersede domain-name mail.myserver.tld;
supersede domain-search mail.myserver.tld;

None of these lines have worked in dhclient.conf

Anything else I could try?

Thank you.



27 Ekim 2020 Salı tarihinde Otto Moerbeek  yazdı:

> On Tue, Oct 27, 2020 at 02:32:46PM +0300, Andreas X wrote:
>
> > Greetings. On OpenBSD 6.8, I have unbound enabled in my server, (server
> > gets its IP via DHCP from my server provider)
> > In resolv.conf I have a "search your-server.de" line and I don't know
> what
> > hostname is that.
> > My own hostname is something different.
> >
> > That seems the older hostname during setup (I forgot to set hostname
> during
> > installation). I changed hostname, removed it from resolv.conf, rebooted,
> > it's back again (DHCP - generated by re0 dhclient) How can I
> remove/change
> > that line?
> >
> > P.S: I have unbound enabled, therefore I created dhclient.conf and added:
> > supersede domain-name-servers 127.0.0.1, my.server.provider.IP;
> >
> > openbsdl# cat /etc/resolv.conf
> > # Generated by re0 dhclient
> > search your-server.de
> > nameserver 127.0.0.1
> > lookup file bind
> >
> > Thanks.
>
> You can tell dhclient to ignore things.
>
> something like
>
> ignore domain-search;
>
> in dhclient.conf. See dhclient.conf and dhcp-options man pages.
>
> -Otto
>


search contains unknown domain in resolv.conf

2020-10-27 Thread Andreas X
Greetings. On OpenBSD 6.8, I have unbound enabled in my server, (server
gets its IP via DHCP from my server provider)
In resolv.conf I have a "search your-server.de" line and I don't know what
hostname is that.
My own hostname is something different.

That seems the older hostname during setup (I forgot to set hostname during
installation). I changed hostname, removed it from resolv.conf, rebooted,
it's back again (DHCP - generated by re0 dhclient) How can I remove/change
that line?

P.S: I have unbound enabled, therefore I created dhclient.conf and added:
supersede domain-name-servers 127.0.0.1, my.server.provider.IP;

openbsdl# cat /etc/resolv.conf
# Generated by re0 dhclient
search your-server.de
nameserver 127.0.0.1
lookup file bind

Thanks.