I've got a number of publicly addressed endpoints that I'd like to access remotely over various ports (80 and 22 specifically). However, I'd like to be able to require authentication on those servers so that only someone with the correct credentials/key/certificate can access the server.
The first thought I had was around IPSEC, as this is something that provides both encryption and authentication at the IP level and therefore be transparent to the services themselves.
Every setup guide I've read seems to want to treat all IPSEC scenarios as a VPN-like instance, where a key-exchange is done between the client and the server and then all traffic is routed down to the server.
What I'm really after is to be able to configure my laptop with a policy to do IPSEC with any host in a particular subnet whenever any ip connection is requested to that host. On the server side, I want the servers to be able to require a valid IKE exchange with any connection that originates from outside a certain subnet, or in short, a server policy that requires authentication and encryption
Is this possible? I'm using mainly linux servers but with windows and linux clients. Openswan on the linux side.
The first thought I had was around IPSEC, as this is something that provides both encryption and authentication at the IP level and therefore be transparent to the services themselves.
Every setup guide I've read seems to want to treat all IPSEC scenarios as a VPN-like instance, where a key-exchange is done between the client and the server and then all traffic is routed down to the server.
What I'm really after is to be able to configure my laptop with a policy to do IPSEC with any host in a particular subnet whenever any ip connection is requested to that host. On the server side, I want the servers to be able to require a valid IKE exchange with any connection that originates from outside a certain subnet, or in short, a server policy that requires authentication and encryption
Is this possible? I'm using mainly linux servers but with windows and linux clients. Openswan on the linux side.