Nanzikambe
  • Member for 2 years, 11 months
  • Last seen more than 1 year ago
Connect to remote server through another server using a one line command
Accepted answer
4 votes

Use jump hosts: ssh -J host1 host2 Then in your ~/.ssh/config Host host1 hostname X.X.X.X user user1 Host host2 hostname X.X.X.X user user2

View answer
How to ease Nginx when a big file is included in the configuration?
2 votes

With a file of that size I would not do it in nginx, but in iptables instead: #!/bin/bash # here's your list of IPS CURRENT_BL=/path/to/my/ip_black_list.txt # create/flush recreate the tables ...

View answer
How to SSH directly to target via jumphost using SSH Config without additional ssh command
2 votes

The problem is that the Host definition catches both jumphost.example.com AND target.example.com as aliases, it then sets HostName to jumphost.example.com in both cases. I would suggest making the ...

View answer
Call the openvpn server by it's hostname
Accepted answer
1 votes

Edit re-read your question: Ok without a DNS server you would add the server's IP to the client's /etc/hosts file: 172.31.0.1 dns.local I would recommend the dns server option though, it's straight-...

View answer