Page 1 of 1

Redhat/Fedora Core 4 Help needed

PostPosted: Sat May 27, 2006 1:59 pm
by icebreaker
Hi Guys,


Hoping to find someone who can assist.

I've just moved all my crap in my study around and finally putting my server to use.

I've set up FC4 and essentially going to be using it as a router for the most part.

I'm using IPTables v1.3.0 through webmin. I've got Nat working but don't seem to be able to work out how to get NAPT (Port Forwarding) to work so I can forward VNC, etc to my desktop PC.


Anyone able to lend a hand?


Thanks

Dan

PostPosted: Sat May 27, 2006 2:05 pm
by MrCaffeen
dan the man

i've worked with RH since my tafe days about 4 years ago, i've moved up to using freebsd but i've become a bit of a unix buff

try to catch me on msn or icq, and i can try and lend you a hand.

PostPosted: Sat May 27, 2006 2:31 pm
by MrCaffeen
first an accept rule

port forward 3389 to your internal ip

Is your internal ip dynamic or static?
Use DHCP, to set it statically, via mac address.

You need the accept rule, then the -djnat rule to forward it or something like that. I haven't used it through webmin, I'm usually a console guru.

PostPosted: Sat May 27, 2006 3:57 pm
by icebreaker
MrCaffeen.... lol

I think there are way to many caffeen junkies on here.. hehehe

Added you to my MSN so I'll have a chat to you about it at some stage.


Dan

PostPosted: Sat May 27, 2006 5:28 pm
by Stereo
I assume you have made sure that port 5900 is forwarding? (or port 5800 if you want to use the Java applet)

And I am also assuming that you have allowed it in the firewall and router settings.... (if you have them).....

Its been ages since I used Linux.... If I was sitting in front of it I could probably work it out...

Why dont you enable VNC sothat I can have a look hehehe....

PostPosted: Sun May 28, 2006 11:49 am
by icebreaker
The linux box is the router..

It has 2 interfaces. a gigbit eth0 (lan) and a 100mb eth1 (wan) plus the ppp0 which runs through the eth1 to the ADSL modem in bridge mode. The linux box pushes the username and password to exetel. Therefore the only port forwarding to do is on the linux box.

I know what ports I need to forward, etc cause I've been doing it for years and do it for a job. But I've ever had to do it with Linux before hence my call for help.

I've done some googling for iptables and nothing that I've found seems to work for me. I was hoping not to have to install another app simply to do port forwarding.


Dan

PostPosted: Sun May 28, 2006 1:02 pm
by Rossi
WTF you lot on about :lol: :lol:

PostPosted: Sun May 28, 2006 2:20 pm
by the kid
Rossi wrote:WTF you lot on about :lol: :lol:


Come on Rossi , don't you know :roll: Its that thingamebob whatsit that goes with the whojacka what plugs into a whatyamacallit that makes the lights shine and then the machine goes BING .

Thought everone knew that :roll:

PostPosted: Sun May 28, 2006 5:23 pm
by photomike666
Ah, as long as you have the machine that goes bing.

PostPosted: Mon May 29, 2006 7:26 am
by Stereo
Dan wrote:I was hoping not to have to install another app simply to do port forwarding.
Dan


have you got IPPORTFW, IPMASQADM, IPAUTOFW, REDIR or UDPRED?