Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Bernhard Pöttinger

Pages: 1 2 [3]
31
Applications / Re: OS/4 (technical details only)
« on: November 19, 2019, 02:00:18 pm »
Hi, I have problems with NTFS Plugin of NetDrive and the OS4 Kernel. With the normal ArcaOS kernel 14.201 I have no problems to mount and access an NTFS formatted volume. With my OS4 kernel os2krnlSVN5661 my system freezes immediately after the mount command: 'nd mount ntfs g:\ ;path=/dev/hdb1 w'. I have also tried other os4 kernels.

regards Bernhard.

32
Networking / Re: openvpn configuration?
« on: October 08, 2019, 01:43:53 pm »
Hallo Paul,
I tested your version 2.3 and it's working as expected. Thank's for the excelent work.
best regards
Bernhard

33
Networking / Re: openvpn configuration?
« on: October 05, 2019, 06:12:11 pm »
Hi Paul,

excuse the delay.

Hi Bernhard,

Thanks for sharing - are you also able to test with https://smedley.id.au/tmp/openvpn-2.2.2-os2-20190929.zip

I'll try bump our port to a currently supported one, however, from 2.3.x onwards, ipv6 support is included and will need to be worked around in the code.

Cheers,

Paul.

Your new openvpn executable version 2.2 worked like a charm with all my vpn connections. As i said, on severside I use linux machines or pfSense firewalls. In former times I have used ipcop / ipfire as openvn servers and they worked too with os/2 or arcaos.

best regards
Bernhard.

34
Networking / Re: openvpn configuration?
« on: September 30, 2019, 07:58:33 pm »
I am reading this forum already some time. Now it's time to participate actively. I am using openvpn to support my clients.

OpenVPN is very easy. Place DEVICE=E:\IBMCOM\MACS\OpenVPN.SYS in config.sys and make an entry in protocol.ini:

[OpenVPN_nif]
  DriverName = OVPNET$
  NETADDRESS = "004030123456"

Create a config file for openvpn (lan0=lan, lan1=wlan, lan2=openvpn), for example:

dev tap
dev-type tap
dev-node lan2
proto udp
cipher AES-128-CBC
auth SHA1
remote aaa.bbb.ccc.ddd 1194
resolv-retry infinite
pull
auth-user-pass
tls-client
pkcs12 <p12file>.p12
tls-auth <tlskey>.key 1
script-security 3
verb 3

As Server you can use  a linux machine, or ipcop, ipfire, pfsense firewall (the example above is for an pfsense firewall). In the case of pfsense the firewall creates the client config file, the p12 file and the tls key file. Start openvpn with:

openvpn --cd <config-dir> --config <config file>

Example:
{0}[e:\sys\apps\openvpn] ovpn_argon.cmd
openvpn --cd .\config --config argon.ovpn
Mon Sep 30 19:49:43 2019 OpenVPN 2.1.3 i386-pc-os2-emx [SSL] [LZO2] built on Sep
 21 2010
Enter Auth Username:openit_admin
Enter Auth Password:
Mon Sep 30 19:49:53 2019 WARNING: No server certificate verification method has
been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Mon Sep 30 19:49:53 2019 NOTE: the current --script-security setting may allow t
his configuration to call user-defined scripts
Mon Sep 30 19:49:53 2019 NOTE: --script-security method='system' is deprecated d
ue to the fact that passed parameters will be subject to shell expansion
Mon Sep 30 19:49:53 2019 WARNING: file 'openit_admin-TO-argon.p12' is group or o
thers accessible
Mon Sep 30 19:49:53 2019 WARNING: file 'openit_admin-TO-argon.key' is group or o
thers accessible
Mon Sep 30 19:49:53 2019 Control Channel Authentication: using 'openit_admin-TO-
argon.key' as a OpenVPN static key file
Mon Sep 30 19:49:53 2019 LZO compression initialized
Mon Sep 30 19:49:53 2019 UDPv4 link local (bound): [undef]:1194
Mon Sep 30 19:49:53 2019 UDPv4 link remote: <IP>:1196
Mon Sep 30 19:49:54 2019 WARNING: this configuration may cache passwords in memo
ry -- use the auth-nocache option to prevent this
Mon Sep 30 19:49:55 2019 [openit_admin] Peer Connection Initiated with 81.223.17
3.68:1196
Mon Sep 30 19:49:57 2019 ifconfig.exe lan2 10.125.211.2 netmask 255.255.255.0 mt
u 1500 up
sem reset rc=300
up: Operation not supported
add net 10.0.0.0: gateway 10.125.211.1

Mon Sep 30 19:49:57 2019 Initialization Sequence Completed

{0}[e:\] ping 10.0.0.12
PING 10.0.0.12: 56 data bytes
64 bytes from 10.0.0.12: icmp_seq=0. time=90. ms
64 bytes from 10.0.0.12: icmp_seq=1. time=20. ms

----10.0.0.12 PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 20/55/90

That's it. Easy and Robust and with openvpn you need only one port for comunication. You can use tcp or udp.

best regards
Bernhard





Pages: 1 2 [3]