LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Thread Tools
Old 11-03-2009, 11:38 AM   #1
jrmontg
Member
 
Registered: Nov 2004
Posts: 53
Thanked: 0
Help with iptables


[Log in to get rid of this advertisement]
I have a windows server that is trying to access a samba share over a openvpn bridged vpn.

In my log I get this error and need some help with a rule to add to permit.

Outside =br0 OUT= PHYSIN=tap0 MAC=00... SRC=10.1.1.254 DST=10.1.1.39 LEN=48 TOS=0x00 PREC=0x00 TTL=128 ID=7650 DF PROTO=TCP SPT=1036 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=
linux jrmontg is offline     Reply With Quote
Old 11-04-2009, 04:16 AM   #2
zhjim
Member
 
Registered: Oct 2004
Distribution: Debian lenny & etch, Red Hat 4.0, (used slackware 11.0)
Posts: 445
Blog Entries: 2
Thanked: 29
Quote:
Originally Posted by jrmontg View Post
Outside =br0 OUT= PHYSIN=tap0 MAC=00... SRC=10.1.1.254 DST=10.1.1.39 LEN=48 TOS=0x00 PREC=0x00 TTL=128 ID=7650 DF PROTO=TCP SPT=1036 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=
I can't tell if this log message is before a DENY or if it just before a ACCEPT but taken that this is before a DENY following rule should grant access

Code:
iptables -i br0 -d 10.1.1.39 -p tcp --dport 445 -j ACCEPT
check if br0 realy is the -i(n interface) else substitute with the correct one.

Cheers Zhjim
windows_xp_2003 zhjim is online now     Reply With Quote
Thanked by:

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Rather huge IPtables chain, iptables: Memory allocation problem. Gangrif Linux - Networking 10 09-11-2009 04:30 PM
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 09:20 PM
An error occured getting IPtables status from the command /etc/rc.d/init.d/iptables s CrazyMAzeY Linux - Newbie 4 08-19-2004 04:25 PM
IPtables Log Analyzer from http://www.gege.org/iptables/ brainlego Linux - Software 0 08-11-2003 07:08 AM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 08:36 AM


All times are GMT -5. The time now is 02:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration