Redhat/Fedora Core 4 Help needed

Non Bike related Discussion - no politics or religion pls.

Redhat/Fedora Core 4 Help needed

Postby icebreaker » Sat May 27, 2006 1:59 pm

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
Ducati Monster S2R1000
Kawasaki '77 Z1000A1, '76 z900 (Project) & '78 Z1000A2 (Project)

http://www.unihost.com.au - Affordable, Reliable Webhostng
icebreaker
Administrator
Administrator
 
Posts: 2794
Joined: Wed Apr 07, 2004 7:07 pm
Location: Hobart
Bike: Z1000
State: Tasmania

Postby MrCaffeen » Sat May 27, 2006 2:05 pm

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.
MrCaffeen
Newbie
 
Posts: 3
Joined: Sat May 27, 2006 1:49 pm
Location: SE.Melb.VIC.AU

Postby MrCaffeen » Sat May 27, 2006 2:31 pm

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.
MrCaffeen
Newbie
 
Posts: 3
Joined: Sat May 27, 2006 1:49 pm
Location: SE.Melb.VIC.AU

Postby icebreaker » Sat May 27, 2006 3:57 pm

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
Ducati Monster S2R1000
Kawasaki '77 Z1000A1, '76 z900 (Project) & '78 Z1000A2 (Project)

http://www.unihost.com.au - Affordable, Reliable Webhostng
icebreaker
Administrator
Administrator
 
Posts: 2794
Joined: Wed Apr 07, 2004 7:07 pm
Location: Hobart
Bike: Z1000
State: Tasmania

Postby Stereo » Sat May 27, 2006 5:28 pm

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....
The world is round. It has no point.
User avatar
Stereo
KSRC Addict
KSRC Addict
 
Posts: 4578
Joined: Thu Aug 11, 2005 8:01 am
Location: Pt Cook, Melbourne, Victoria, Australia, Pacific Ocean, Earth
Bike: ZX10R
State: Victoria

Postby icebreaker » Sun May 28, 2006 11:49 am

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
Ducati Monster S2R1000
Kawasaki '77 Z1000A1, '76 z900 (Project) & '78 Z1000A2 (Project)

http://www.unihost.com.au - Affordable, Reliable Webhostng
icebreaker
Administrator
Administrator
 
Posts: 2794
Joined: Wed Apr 07, 2004 7:07 pm
Location: Hobart
Bike: Z1000
State: Tasmania

Postby Rossi » Sun May 28, 2006 1:02 pm

WTF you lot on about :lol: :lol:
I don't suffer from insanity; I enjoy every minute of it.
User avatar
Rossi
KSRC Contributor
KSRC Contributor
 
Posts: 1656
Joined: Sat May 01, 2004 12:39 am
Location: Vic : Epping
Bike: ZX9R
State: Victoria

Postby the kid » Sun May 28, 2006 2:20 pm

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:
Ummmm let me see
User avatar
the kid
KSRC Addict
KSRC Addict
 
Posts: 3948
Joined: Thu May 12, 2005 5:10 pm
Location: Bendigo
Bike: Yamaha
State: Victoria

Postby photomike666 » Sun May 28, 2006 5:23 pm

Ah, as long as you have the machine that goes bing.
--------------------------------------------------------------------------------------------------------------
07 ZX10R since new, tracky TBA, KX450F, 87 CR250 restoration, GT MTB - I've got serious thrill issues, dude
User avatar
photomike666
Apprentice Post Whore :-)
Apprentice Post Whore :-)
 
Posts: 5956
Joined: Sat Jan 15, 2005 12:01 am
Location: Melbourne
Bike: ZX10R
State: Victoria

Postby Stereo » Mon May 29, 2006 7:26 am

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?
The world is round. It has no point.
User avatar
Stereo
KSRC Addict
KSRC Addict
 
Posts: 4578
Joined: Thu Aug 11, 2005 8:01 am
Location: Pt Cook, Melbourne, Victoria, Australia, Pacific Ocean, Earth
Bike: ZX10R
State: Victoria


Return to Off Topic Discussion

Who is online

Users browsing this forum: No registered users and 13 guests