Search found 11 matches

by vicwoods
2018/01/25 14:11:39
Forum: CentOS 7 - Networking Support
Topic: Connection to own DNS server
Replies: 5
Views: 942

Re: Connection to own DNS server

Found the problem, firewall settings on the server..
by vicwoods
2018/01/25 08:49:43
Forum: CentOS 7 - Networking Support
Topic: Connection to own DNS server
Replies: 5
Views: 942

Re: Connection to own DNS server

DNSmasq is running on the server and journalctl doesn't give me an error (I think)

https://imgur.com/n6t05JH this is the output I get

A dnsmasq --test tells me the syntax is ok. So I assume it's some setting on the workstation I forgot. Anny ideas?
by vicwoods
2018/01/24 18:22:21
Forum: CentOS 7 - Networking Support
Topic: Connection to own DNS server
Replies: 5
Views: 942

Re: Connection to own DNS server

When I do netstat -tulnp I get the following result

https://imgur.com/SsXSSZE

So i recon it isn't listening? How can I add it? And I suppose I should add the 172.20.0.2?

I should have a tcp 0 172.20.0.2 in there right? How can i do that?
by vicwoods
2018/01/24 17:16:14
Forum: CentOS 7 - Networking Support
Topic: Connection to own DNS server
Replies: 5
Views: 942

Connection to own DNS server

I've build a DNS server and a client using virtualbox Server has ip's 10.0.2.15 (NAT) and 172.20.0.2 (Intern) Client has ip 172.20.0.101 (intern) I'm trying to connect my client to my DNS server. I've changed the nameserver to 172.20.0.2 I thought that was it but it doenst seem to work. What Am i fo...
by vicwoods
2018/01/22 17:20:27
Forum: CentOS 7 - Networking Support
Topic: Visit local website
Replies: 15
Views: 1911

Re: Visit local website

Yes, so run those again without --permanent or you need to reload firewalld or reboot. The --permanent flag adds the rule to the permanent list but doesn't affect the running rules. Did that but is still keeps saying that is't unable to resolve the host address When i try to access it through the i...
by vicwoods
2018/01/22 16:13:51
Forum: CentOS 7 - Networking Support
Topic: Visit local website
Replies: 15
Views: 1911

Re: Visit local website

TrevorH wrote:
The I have ports 80 and 443 open on my server. It has apache
How did you open those?

sudo firewall-cmd --permanent --add-port=80/tcp

sudo firewall-cmd --permanent --add-port=443/tcp
by vicwoods
2018/01/22 15:55:21
Forum: CentOS 7 - Networking Support
Topic: Visit local website
Replies: 15
Views: 1911

Re: Visit local website

Can you run these as root on your client: nmap 10.0.2.15 nmap www.linuxlab.lan Port 80 should be open. If not, check firewalls and that there's a web-server (apache?) running on your server. when trying to run "nmap 10.0.2.15" it says "bash: nmap: command not found" The I have ports 80 and 443 open...
by vicwoods
2018/01/22 15:24:32
Forum: CentOS 7 - Networking Support
Topic: Visit local website
Replies: 15
Views: 1911

Re: Visit local website

Also The workstation gets its ip from DHCP so did i do that the right way?
by vicwoods
2018/01/22 15:20:31
Forum: CentOS 7 - Networking Support
Topic: Visit local website
Replies: 15
Views: 1911

Re: Visit local website

tunk wrote:Can you ping 10.0.2.15?
I guess that Trevor ment this in /etc/hosts (oops, didn't see Trevor's post):

Code: Select all

10.0.2.15 www.linuxlab.lan www.linuxlab.lan  

Yes I can ping 10.0.2.15 I made the change but still can't get to www.linuxlab.lan
by vicwoods
2018/01/22 14:54:18
Forum: CentOS 7 - Networking Support
Topic: Visit local website
Replies: 15
Views: 1911

Re: Visit local website

So i should remove the http://www.linuxlab.lan?

When i try curl www.linuxlab.lan in my workstation i get:
could not resolve host: www.linuxlab.lan; Name or service not know

I have no idea how i should fix it.. :(