Search found 6 matches

by logicprobe
2018/03/07 19:19:28
Forum: CentOS 7 - Security Support
Topic: incoming IP address on forwarded port
Replies: 3
Views: 5109

Re: incoming IP address on forwarded port

Thanks for the answers. I'm stumbling through setting up a VPS with firewalld doing port forwarding, and some of the details would be a lot harder to figure out without the help I'm receiving here.
by logicprobe
2018/03/07 18:02:43
Forum: CentOS 7 - Security Support
Topic: incoming IP address on forwarded port
Replies: 3
Views: 5109

incoming IP address on forwarded port

When ports are forwarded from a gateway to a server, does the server see only the gateway's IP address, or does it see the IP address of the original, pre-forwarded incoming IP address? I want the server to see the pre-forwarded IP address instead of the gateway's address for logging purposes, etc. ...
by logicprobe
2018/03/07 16:26:28
Forum: CentOS 7 - Security Support
Topic: Port forwarding and SSL certificates
Replies: 2
Views: 1394

Port forwarding and SSL certificates

Do SSL certificates work normally on a server that receives forwarded ports from a gateway? I am setting up a server behind a gateway. The gateway will forward ports to the server. If the server has a SSL certificate but the gateway does not, will I have problems? Would https work through the forwar...
by logicprobe
2018/03/07 16:08:28
Forum: CentOS 7 - Security Support
Topic: Can't get port forwarding to work
Replies: 3
Views: 548

Re: Can't get port forwarding to work

The OpenVPN client's default route was not set to tun0. I added 'push "redirect-gateway def1"' to the server's conf file, and port forwarding is working.
by logicprobe
2018/03/05 00:50:22
Forum: CentOS 7 - Security Support
Topic: Can't get port forwarding to work
Replies: 3
Views: 548

Re: Can't get port forwarding to work

I think packets are not coming in on port 25 from outside, even though I think I opened the port: # firewall-cmd --zone public --list-all public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: ssh dhcpv6-client openvpn ports: 25/tcp protocols: masquerade: yes fo...
by logicprobe
2018/03/04 07:08:25
Forum: CentOS 7 - Security Support
Topic: Can't get port forwarding to work
Replies: 3
Views: 548

Can't get port forwarding to work

i want to forward port 25 (smtp) from a gateway system to a mail server that is connected to the gateway on a vpn tunnel. I used firewall-cmd to configure port forwarding: # firewall-cmd --zone=public --query-forward-port=port=25:proto=tcp:toaddr=10.8.0.101 I verified that the firewall is forwarding...