![]() But i need to admin it from two other machines. If you are administrating server locally maybe you dont need any other rules. Connection from 5222 port from any local 192.168.12.x IP address is accepted (this is for clients using non-SSL port). And then i add (-A means append) 3 ports to be able to connect to my server. If someone else is working with iptables just ask him to configure needed ports, dont mess firewall ) As i’‘m using this server only for Jive i’‘m dropping all (-P means policy) incoming connections with second command. Iptables -A INPUT -p tcp -dport 9090 -s 192.168.12.0/24 -m mac -mac-source 00:0B:6A:24:E8:C7 -j ACCEPTįirst command flushes all the existing commands so be aware. This is an example of my setup, you need to enter all these commands in command line (terminal): This manual is very good to understand iptables commands: Though i’'m not using Fedora and iptables daemon in mys system could be in other place. Maybe i can help you dealing with iptables a bit. RX bytes:60032626 (57.2 MiB) TX bytes:60032626 (57.2 MiB)Īs mentioned in the previous post, there are: eth1, eth2, and sit0 data as well. TX packets:862406 errors:0 dropped:0 overruns:0 carrier:0 RX packets:862406 errors:0 dropped:0 overruns:0 frame:0 TX packets:1533421 errors:0 dropped:0 overruns:0 carrier:0 RX packets:1684361 errors:0 dropped:0 overruns:0 frame:0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Also, any insight on mitigating being behind NAT would be helpful on the newbie line as well, as I’'m not sure what that means.Įth0 Link encap:Ethernet HWaddr 00:0E:0C:08:6C:C4 But on my android terminal emulator, ping to my Mac's public IP x.x.x.x worked, and ping -p 9000 192.168.1.2 also worked.Here are specifics on mine (inet is not 127.0.0.1 on eth0) … being a newbie I’‘m not exactly sure what to leave off, so I’‘ll key off of Sean. And then on my phone, I typed in chrome browser 192.168.1.2, didn't work. So, I connected my android mobile to the same wireless router that Mac is connected. ![]() Then, I tried to see if it works in the same network. One more thing that I tried is, from the windows 8 (which is connected to another network), I went to to get the public IP, and then went to my mac and pinged it, it worked. Is that a problem? Is static IP must for this? ![]() Note, I don't have static IP, it's dynamic IP. What's is the problem? My firewall disabled on the mac. Then I tried ping x.x.x.x from that windows computer, it didn't work, got timeout. ![]() Now I went to another machine (OS: windows 8) connected to another network, and typed the x.x.x.x:9000, but I couldn't access. I logged in to and added HTTP Port forwarding external port starting 9000 to end port 9000 to internal port starting 9000 to ending port 9000 to internal ip 192.168.1.2.Then I found my local ip in network in system preferences which is 192.168.1.2.I found the public Ip of my Mac by visiting.Now, I want to access this site from the internet anywhere. My Mac is connected to a wireless router which is connected to my timer warner modem. I saw similar posts, but I'm not able to make it work by following it. Sorry, I'm a software guy, don't know much about networking.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |