Posts: 6,242
Threads: 8
Joined: Jun 2008
You need to use the same C class address. Class C the portion of 192.168.XXX.1 where XXX is the class C. Class B is the 168, Class A is the 192. The 1 is a class d, and if your router is 1, then you shouldn't use that for your forwarding address, as it should be what the host machine is.
What's the IP of your router, and what's the IP of your hosting machine?
I'd suggest to allocate an IP for your server manually, making an exclusion for the DHCP server so it doesn't allocate it to another machine and cause an IP conflict.
Then when you set the IP Forwarding up, it'll ONLY be to that machine, not whatever device got the IP address at the time. (Not that it'd likely happen, it'd likely be a 7 day off event that would cause the servers dynamic IP to be reallocated.)
Chuck up your IPs if you can't figure this one out.
Posts: 889
Threads: 4
Joined: Mar 2013
Reputation:
0
.255 in a network address? Try again mate, that's NOT your IP.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Don't worry guys, he PMed me as he was worried about putting his IPs up, and what it is about is that there is a second router, after the modem.
When port forwarding, you need to forward from the modem usually.
However in this case, as there's a router, as well as the modem, you need to do 2 sets of port forwarding rules. One on the modem, forwarding to the router, then on the router, to the machine that is hosting.
What he was doing, was putting the host machines address, into the modem, effectively giving a different IP class, on the port forwarding, which in turn gave this error saying the IP was invalid.