0
votes
1answer
66 views

Iptables and bind9 to forward to google's dns

Hello i have a very hard time on getting along with iptables and bind9 as my internal network dns server. It's configured to forward my queries to google's dns (8.8.8.8). The main problem is i can't ...
0
votes
0answers
87 views

Why can't I view a specific website?

I am a netwrok administrator at a small company (22 PCs) and i have a problem, and i don't know what could be the cause. I can't access a specific website from the LAN. I have a server which has 2 ...
3
votes
1answer
5k views

Redirect requests mapped to a DNS IP Address

For this command lines: sysctl net.ipv4.ip_forward=1 iptables -t nat -A PREROUTING -p tcp --dport port -j DNAT --to-destination ip:port iptables -t nat -A POSTROUTING -j MASQUERADE I can reroute ...
1
vote
1answer
3k views

'/etc/hosts' , http links are redirecting, but https links are not redirecting

I edited /etc/hosts file and entered below information : 127.0.0.1 test.com //working 127.0.0.1 https://test.com //not working . from the above info, http://test.com is redirecting to ...
2
votes
2answers
10k views

How do I allow all possible IPs for Gmail servers through my ufw firewall?

I am currently using the following rule: ufw allow out from my_local_ip to any port 587 This is a little too lax for my liking. I would like to tighten it up and restrict it to only gmail's smtp ...