I have the following stunnel config on the server:
chroot = /var/run/stunnel
setuid = nobody
setgid = nobody
pid = /stunnel.pid
cert = /etc/stunnel/stunnel.pem
key = /etc/stunnel/stunnel.pem
client = no
[https]
accept = 443
connect = 10051
The client:
chroot = /var/run/stunnel
setuid = nobody
setgid = nobody
pid = /stunnel.pid
cert = /etc/stunnel/stunnel.pem
key = /etc/stunnel/stunnel.pem
client = yes
[https]
accept = 127.0.0.1:10051
connect = 10.0.10.116:443
When I run 'sudo stunnel' on each machine I get no errors. Running the following commands on the client to test the tunnel, I get nothing?
tcpdump port 10051 -n -vvvv
followed by:
echo "blah" > nc localhost 10051
Am I misusing 'tcpdump'? Is there another way to test this? I am using Centos 7. The server Ip address is 10.0.10.116 and the client ip address is 10.0.10.27, this is a test lab setup with self signed certificates.
I should add that if I issue the tcpdump command above with a sudo:
sudo tcpdump port 10051 -n -vvvv
I get the following and then nothing:
tcpdump: NFLOG link-layer type filtering not implemented
Not sure what this is telling me?