View previous topic :: View next topic |
Author |
Message |
mariobosora
Joined: 13 Feb 2013 Posts: 6
|
Posted: Wed Feb 13, 2013 4:40 pm Post subject: Port forwarding |
|
|
I want to run some IP cameras behind the FirstSpot. I configured port forwarding under the NAT tab but still I cannot see cameras from the internet. I can see them from LAN, but not from the internet. What could be the problem?
Mario |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Wed Feb 13, 2013 5:28 pm Post subject: |
|
|
Most likely your firewall is blocking the access. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
mariobosora
Joined: 13 Feb 2013 Posts: 6
|
Posted: Wed Feb 13, 2013 6:24 pm Post subject: |
|
|
No, firewall is not blocking the access. If I put cameras before the Firstspot, just after the firewall I can see them from the Internet. |
|
Back to top |
|
|
mariobosora
Joined: 13 Feb 2013 Posts: 6
|
Posted: Thu Mar 07, 2013 4:29 am Post subject: |
|
|
So, is there a solution for port forwarding?
Regards |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Thu Mar 07, 2013 10:16 am Post subject: |
|
|
Can you post your config.ini here? Thanks. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
mariobosora
Joined: 13 Feb 2013 Posts: 6
|
Posted: Sun Mar 17, 2013 7:43 am Post subject: |
|
|
;
; Description : FirstSpot setting ini file
;
; Filename : config.ini
;
; Note: use a backslash to separate directories and files, those lines starting with
; a semi-colon is considered as comment.
;
; Warning : please don't change this file without supervision of a PatronSoft Engineer
; It is highly recommended that you change the FirstSpot setting in the Web-based Configuration Manager
[version]
version=Trial
versionDesc=6.0.9
[MNS]
; number of return paths
num_return_path=0
return_path0=
[DHCP]
leasetime=2880
num_ignored_addr=0
ignore_addr0=
[Port Filter]
flt_num=
flt_0=
[QOS]
dl=
ul=
qos_num=
qos_0=
[Client Pass]
num_mac_addr=0
mac_0=
num_ip_addr=0
ip_0=
[proxyARP]
ip_num=0
ip_addr0=
;
; Redirect Login Page php file
;
[loginPhp]
Login_enable0=
Login_php_Num0=
;
; Gateway Settings
;
[gateway]
;Print Log Table
Datasource_Printlog=printlog
;Shared Secret Table Name
Datasource_Shared_Secret_Tablename=fssecret
;maximum timelimit per session in minutes (global), 0 = never
sessionlimit =
;URL tracking, default off
Trace_URL=0
;URL tracking interval, do not log the same url for particular user in x mins
Trace_URL_Interval=30
;URL tracking temp table
datasource_tmp_URL_tablename=tmpurl
;extra-information field table name
Datasource_extra_field_table = aexlog
;for scenario2 communicate
Datasource_msg_Tablename=fsmsg
;for In-browser message
Datasource_ibmsg_Tablename=ibmsg
;demo_mode=on, off (default)
;
;This demo_mode parameter is for FirstSpot channel partners demonstration purpose
;If demo_mode=on, FirstSpot DNS Server and Web Server will perform a catch-all on all
;requests. After the user login, the client will always see the "firstspotdemo" page.
demo_mode=off
;redirect user to cart.php when login fails
redirect_cart=1
;Client Isolation, NetBIOS over TCP/IP, Default is Disabled
netbios=1
;Scenario 2 (Distributed Network Topology)
scenario2=0
;FirstSpot Site ID
siteID=
; Post-Startup Batch File Path Name
batch_filePath =
; lan's subnet mask (please change this through Configuration Manager only)
;
subnet_mask =255.255.255.0
; domain name server IP address
;
DNS =0.0.0.0
; domain name server IP address
;
preferred_DNS =0.0.0.0
; domain name server IP address
;
alternate_DNS =0.0.0.0
; username
;
user =firstspot
; password
;
pass =a03af780c0f2959f26512a2cc8c2efb6
;Number of maximum administrator account
max_admin_account = 10
;Administrator username
admin_username0 =
admin_username1 =
admin_username2 =
admin_username3 =
admin_username4 =
admin_username5 =
admin_username6 =
admin_username7 =
admin_username8 =
admin_username9 =
;Administrator password
admin_password0 =
admin_password1 =
admin_password2 =
admin_password3 =
admin_password4 =
admin_password5 =
admin_password6 =
admin_password7 =
admin_password8 =
admin_password9 =
;Administrator parameter
admin_parameter0 =
admin_parameter1 =
admin_parameter2 =
admin_parameter3 =
admin_parameter4 =
admin_parameter5 =
admin_parameter6 =
admin_parameter7 =
admin_parameter8 =
admin_parameter9 =
; network interface card connected to Internet (after modify this, need to restart FirstSpot)
;
publicNIC=Conexión de área local
; network interface card connected Hotspots or visitor-based networks (after modify this, need to bind the FirstHop driver
; to this new card and unbind the FirstHop driver from ALL other cards, then reboot Windows)
;
privateNIC=Conexión de área local 3
; data source for user login
;
Datasource =C:\Program Files\FirstSpot\datasource\firstspot.dsn
; datasource table for user login
;
Datasource_Tablename = fsusr
; datasource table for user login
Datasource_Plans_Tablename = fsplans
; enable session logging into the datasource log table
session_log =ON
; datasource table for user session logging
;
Datasource_Log_Tablename = fsusrlog
; datasource table for PayPal
;
Datasource_PayPal_Table=ppal
; port used by Gateway Service
;
port =5786
; port used by Authentication Server
;
auth_port =5788
; port used by ssl site
;
ssl_port =5789
; Greeting message displayed in login page
;
greeting_msg =Welcome to our Hotspot!
; Enable to show InfoBox
;
show_infobox =ON
; Logout automatically when Infobox is closed
;
check_infobox_closed =OFF
; port used by infobox
;
infobox_port =5795
; for client's browser not fully support popup infobox (detect by user agent)
;
not_support_popup_option =1
; login page filename which dispatcher will call
;
loginpage =login_select.php
; login form filename which login_select.php will call
;
loginform =login_form.php
; anonymous login form filename which login_select.php will call
;
a_loginform =alogin_form.php
; idle time (minutes) allowed for authenticated users
;
idle_timeout =10
; gateway IP address (please change this through Configuration Manager only)
;
gateway_IP =10.20.7.1
; allow access to config manager from private network?
;
access_from_private =ON
; allow access to config manager from public network?
;
access_from_public =ON
; license file path
;
licensepath =C:\Program Files\FirstSpot\
; session handling mode, 0 for MAC-based, 1 for IP-based
session_handling =0
; path for dhcp config
dhcppath =C:\Program Files\FirstSpot\dhcp\dhcpservice.ini
; dhcp mode, 0 = auto, 1 = static, 2 = disabled
dhcpmode =0
; for static dhcp only, path of the Ip MAC mapping list
static_dhcp_path =C:\Program Files\FirstSpot\StaticDHCP.txt
; anonymous login
anonymous_login =OFF
; secret enable
secret_enable=off
; secret code
secret_code=0aed120c6f7090a5b26a4c93df382b21
; anonymous login user table name
Datasource_Anonymous_Tablename =fsa
; anonymous login log table name
Datasource_Anonymous_Log_Tablename =fsalog
; password offloading mode
pwd_offload = off
; password encryption directory path
encrypt_path =C:\Program Files\FirstSpot\dispatcher\encrypt_pwd.exe
; initial air time in minutes for self signup users
self_sign_up_credit=0
; initial plan for self signup users
self_sign_up_plan=
; self signup option
self_sign_up_option=0
self_sign_up_redirect=http://www.google.com
; self signup filtering
self_signup_filter=1
; null=no filter, 0 = signup once, >0 after x mins
self_signup_period=
;CAPTCHA option
self_sign_up_captcha_check=on
;use 3 party ssl cert 0=yes 1=no
ssl_cert=1
;secure socket layer for authentication
;443 for enabled SSL, auth_port=ssl_auth_port for disabled ssl
ssl_auth_port=5788
;rewrite engine for http to https redirection
rewrite_engine=off
;maximum fail attempt allowed
max_attempt=
;If user accesses http://10.20.7.1:5788 directly, redirect the request to any non-existing ip,
;so that driver can capture the request properly.
;DO NOT put any unresolvable domain name here
redirect_address=http://192.168.1.100/logged_in.html
;port to handle https request in apache when user is not authenticate
redirect_port=5790
; DNS suffix
dns_suffix=firstspot.org
;unauthorized access restricted to port 80 and 443 only.
; On=1, Off=0
restricted_redirect=1
; start up redirect
; 0= no redirect, 1=redirect to below link, 2=redirect to info box
start_up_redirect_option =0
start_up_redirect_url =
start_up_redirect_wait =5
; Redirect page picture (filename)
;
redirectpage_pic_name=
redirectpage_pic_name_html=
; Login page picture (filename)
;
random=0
loginpage_pic_count=1
loginpage_pic_html0=
loginpage_pic_html1=
loginpage_pic_html2=
loginpage_pic_html3=
loginpage_pic_html4=
loginpage_pic_html5=
loginpage_pic_html6=
loginpage_pic_html7=
loginpage_pic_html8=
loginpage_pic_html9=
loginpage_pic_html10=
loginpage_pic_html11=
loginpage_pic_html12=
loginpage_pic_html13=
loginpage_pic_html14=
loginpage_pic_html15=
loginpage_pic_html16=
loginpage_pic_html17=
loginpage_pic_html18=
loginpage_pic_html19=
loginpage_pic0=autumn.jpg
;maximum number of concurrent users, blank / 0 = unlimited
max_conc_user=
; Auto refresh interval of Status tab in seconds, blank for no auto refresh
time_refresh=
; Scratch mode
scratch_login=off
; Display Self Sign-up switch
display_self_sign_up=ON
; Private gateway domain name
gateway_domain=
; Show IP or domain name in URL (0:IP, >0:DN)
show_domain_URL=1
; port used by Default Instant Keywords
iKey_port=5801
; Allowed Hosts Settings
;
[allowed hosts]
; allowed hosts keywords file path
;
hosts_keywords_path =C:\Program Files\FirstSpot\AllowedHostsKeywords.txt
; allowed hosts IPs file path
;
hosts_ips_path =C:\Program Files\FirstSpot\AllowedHostsIps.txt
; Bandwidth Throttle Settings
[bw_throttle]
; Bandwidth Throttle Mode
bt_mode =0
; Overall Upload Limit (at least 20KB/s recommended)
bt_ul_limit =0
; Overall Download Limit (at least 20KB/s recommended)
bt_dl_limit =0
; low, medium and high definition
bt_low=100
bt_medium=50
bt_high=20
bt_drop_period=2
[bwreset]
bwresetmethod=
bwresetperiod=
lastresetbw=
sdate=
[creditcard]
payment_method=ppal
[paypal]
; Business id
;
ppal_business=your_business_id@your_email.com
; URL for successful transactions
;
ppal_return=http://firstspot.org:5788/cart.php
; URL for cancelled transactions
;
ppal_cancel_return=http://firstspot.org:5788/cart.php
; trust "Pending"=="Complete"?
;
ppal_pending_release=no
; the settlement currency
;
ppal_base_currency=USD
; URL for notify
;
ppal_notify_url=http://fixed_ip:5789
; Starting number for invoice
;
ppal_invoice_start=1
; 20080724 added setting for PayPal Website Payments Pro Direct Payment
[paypal_direct]
; setting for PayPal Payments Pro Direct Payment
;
; api username
ppal_direct_api_username=your_business_id.your_email.com
;
; api password
ppal_direct_api_password=
;
; api signature
ppal_direct_api_signature=
[worldpay]
; Installation id
;
wpay_instID=your_installation_ID
; the settlement currency
;
wpay_base_currency=USD
; URL for notify
;
wpay_notify_url=http://fixed_ip:5789
; Test Mode
; 100 : test mode - always successful validation
; 101 : test mode - always failed validation
; 0 : test mode - live mode, not testing
;
wpay_testmode=0
[AuthorizeNet]
;login id
aNet_id=
;transaction key
aNet_key=
aNet_hash=
aNet_base_currency=USD
; URL for notify
aNet_notify_url=http://fixed_ip
; Test Mode
; 0 : test mode - live mode, not testing
; 1 : test mode - testing only
aNet_testmode=0
[googleCheckout]
; Merchant id
;
checkout_merchant_id=
; URL for successful transactions
;
checkout_return=http://firstspot.org:5788/cart.php
; URL for cancelled transactions
;
checkout_cancel_return=http://firstspot.org:5788/cart.php
; the settlement currency
;
checkout_base_currency=USD
; URL for notify
;
checkout_notify_url=http://fixed_ip:5789
[User_defined_payment]
id=login_id
pin1=
pin2=
currency=USD
notify_url=http://
[PrinterOn]
PrintSupport=0
SiteURL=
SiteUID=
SiteAuth=
; show siteURL
show_URL_login=1
show_URL_infobox=1
[lang]
; default language file
default_lang_file=lang.php
default_lang_file_attributes=English;en,en-us;iso-8859-1
; number of other language files
lang_fileNumber=0
; other luguage files
lang_file1=
lang_file1_attributes=
lang_file2=
lang_file2_attributes=
lang_file3=
lang_file3_attributes=
lang_file4=
lang_file4_attributes=
lang_file5=
lang_file5_attributes=
; show character encoding
; 0 : hide
; 1 : show
show_charset=1
lang_pack_file=custom_lang.php
cmlang_pack_file=custom_cmlang.php
last_logout=logout
this_logout=logout
last_info=infobox
this_info=infobox
last_cart=cart
this_cart=cart
key_0=
url_0=
ReqSignUp01=off
ReqSignUp02=off
ReqSignUp03=off
ReqSignUp04=off
ReqSignUp05=off
ReqSignUp06=off
ReqSignUp07=off
ReqSignUp08=off
ReqSignUp09=off
ReqSignUp10=off
; Login page text content
default_login_text_path=C:\Program Files\FirstSpot\login_page_text.txt
login_text_path=C:\Program Files\FirstSpot\usersetting\custom_login_page_text.txt
; Control display of optional sections in login page
disable_show_reminder=0
disable_show_example=0
disable_show_link=0
disable_show_tc=0
; Setting of cart description
[cart]
reset_bw_count_upon_purchase=1
; Action of data transfer quota (0/blank=Replace 1=Add)
add_replace_bw_quota=0
; Use plan settings to overwrite user's suspend condition option (1/blank=Yes 0=No)
overwrite_user_suspend=1
max_slot_open=0
[radius]
use_radius=false
ServerIP=10.20.7.1
AuthPort=1812
AccPort=1813
Secret=secret
FSVendorID=2004
Datasource=C:\Program Files\FirstSpot\datasource\radius.dsn
Datasource_Tablename=fsRadius
Acc_Start=true
Acc_Stop=true
;Acc_FSLogin=true
;Acc_FSLogout=true
;Acc_FSWriteLog=true
[radiusAuthentication]
NAS_IDENTIFIER=FirstSpot
;NAS_IP_ADDRESS=the private nic ip, this can be edited.
;CALLING_STATION_ID=client nic mac or ip, depends on the Firstspot setting, this can not be edited.
;CALLED_STATION_ID=firstspot private nic mac, this can not be edited.
[radiusCustomAttribute]
;Vendor spec type for Firstspot
;fixed value can not be changed.
;
;FS_AUTH_TIMELEFT=1
;FS_AUTH_ACCUMBW=2
;FS_AUTH_BWQUOTA=3
;FS_AUTH_BWCOUNT=4
;FS_AUTH_ULLIMIT=5
;FS_AUTH_DLLIMIT=6
;FS_AUTH_LOGINTIME=7
;FS_AUTH_LOGOUTTIME=8
;FS_AUTH_TIMEDIFF=9
;FS_AUTH_BWUSAGE=10
;Account Status Type Attributes, can be changed.
;
;default ACCT_STATUS_FSLOGIN=217
;default ACCT_STATUS_FSLOGOUT=218
;default ACCT_STATUS_FSWRITELOG=219
[prepaidCard]
random_usr_prefix=
random_usr_suffix_salt=123456789
random_usr_suffix_length=5
pwd_salt=abcdefghjkmnpqrstuvwxyzABCDEFGHJKMNPQRSTUVWXYZ
pwd_length=7
[ACL]
num_acl=0
[fssmtp]
smtp =false
MailLogOffset=24
IspSmtpDomain=
SmtpPort=
IspSmtpAuthLogin=false
IspSmtpUserName=
IspSmtpPassword=
[users]
; 0= default format
; 1= past format option
slip_format_option =0
; default format
default_slip_title= Welcome to use FirstSpot System
default_slip_title_size= 0
default_slip_end= Thank You
default_slip_end_size= 0
; Past format
past_slip_title=
past_slip_title_size=0
past_slip_end=
past_slip_end_size=0
[NAT]
Enable=1
Type=2
NAT_AddrR_Count=0
NAT_portmap_count=5
NAT_portmap_0=TCP,UDP:192.168.1.85:85:85
NAT_portmap_1=TCP,UDP:192.168.1.86:86:86
NAT_portmap_2=TCP,UDP:192.168.1.87:87:87
NAT_portmap_3=TCP,UDP:192.168.1.88:88:88
NAT_portmap_4=TCP,UDP:192.168.1.92:92:92
[mac_filter]
mac_count=0
[ip_filter]
ip_count=0
[FSFO]
mode=
BackupMode=2
Main_IP=
Main_NIC=
BackUp_IP=
BackUp_NIC=
Port=
;Current FirstSpot Machine ID for Load Balancing
MachineID=
;Other Load Balancing Machine Information
OtherLB_IP=
OtherLB_NIC=
[bulk]
enable_slip_preview=1
slip_per_page=5
[DataTransfer]
bwcount_dl=0
bwcount_ul=0
[IB]
;0=In-browser message OFF
;1=In-browser message ON
iBMsg=1
;2=Infobox (Always on)
iBMsg_infobox_mode=0
iBMsg_remindMin=5
proxy_port=5796
script_port=5802
iscript_path=C:\Program Files\FirstSpot\iscript.txt
;1=enable internet surfing break
iB_cb_redirect=0
iBMsg_interval=15
;0=do not redirect, 1=redirect delay
iB_redirect_option=1
; Break duration
iB_redirect_wait=15
;0= do not show redirect link, 1= show redirect link, 2= show redirect link delay
iB_redirect_showLink=2
iB_redirect_showLink_wait=5
;0= disable banner, 1= enable top banner
iB_banner_mode=0
; 1: Image, 2: frame
iB_banner_type=1
; frame width and height
iB_banner_frame_w=0
iB_banner_frame_h=0
; number of selected image
iB_banner_img_count=0
[Pool]
min_conn=3
max_conn=10
[URLTracking]
trace_URL_type=1
trace_URL_port=
[misc]
show_cart=yes
enable_chgpwd=1
time_reminder=0
remindMin=5
removePeriod=30
block_icmp=on
block_udp=on
_debug=1
pkt_period=20
_skip_nic_disable_enable=true
oem=C:\Windows\INF\oem5.inf
PublicAdapterIP=192.168.1.100
PublicAdapterIpMask=255.255.255.0
PublicAdapterGateway=192.168.1.1
PrivateMAC=c83a35d9e690 |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
|
Back to top |
|
|
mariobosora
Joined: 13 Feb 2013 Posts: 6
|
Posted: Mon Jun 24, 2013 3:52 am Post subject: |
|
|
I downloaded and installed the latest version of FirstSpot, as you suggested. However, this was not a problem. The problem is the Windows. I am using Windows 7. When I open ports in FirstSpot, it does automatic mapping in Windows 7. It can be easily found in advanced setting of the network adapter. All ports are mapped automatically from FirstSpot but Windows 7 still doesn’t forward any traffic from Local network, except webserver on port 80. So, the only traffic that goes through is on port 80.
Has anybody reported the problem like this? |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Mon Jun 24, 2013 10:24 am Post subject: |
|
|
First, can you explain how do you test Port Forwarding?
Please also post your latest config.ini file. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
mariobosora
Joined: 13 Feb 2013 Posts: 6
|
Posted: Mon Jun 24, 2013 10:02 pm Post subject: |
|
|
I test forwarding by going outside of the LAN and try to access open ports on my network.
I cannot post the config.ini file because I uninstalled the FirstSpot and reconfigured that computer since I couldn’t get it working.
I will get it reinstalled and post then. But the config.ini will not be much different than the one above which I posted before. I compared them myself before I removed FirstSpot and I as I remember I didn’t notice any difference that would be significantly different. |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Tue Jun 25, 2013 5:05 am Post subject: |
|
|
Okay, I understand your problem. Port Forwarding should work by forwarding to the Visitor Network side client IP. For your case, the IP should be 10.20.7.x (instead of 192.168.1.x)
Please also make sure you restart FirstSpot after making the Port Forwarding setting change. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
Powered by phpBB © 2001, 2005 phpBB Group
| |